LoadingIco Loading...Please wait
Black Sea
Brebu Prahova
Bucharest
Flowers
Three Waters
Brebu
Locomotive Museum
Secu Lake
Prague
Caras Severin
Sibiu
Camping
Village Museum
Water Drops
Winter Landscapes
Windows Fonts for Catia
Get Windows Fonts In Catia
( 1 Vote )

This sample code and library shows how to get windows fonts in Catia V5

Add the library to your project references: Tools -> References

Dim ff As Object
Set ff = Nothing
Set ff = CreateObject("V5_Fonts.V5Fonts")
Dim colF As New VBA.Collection
ff.GetFonts colF
For i = 1 To colF.Count
ComboBox1.AddItem colF.Item(i)'Add the fonts in to a ComboBox
Next

Download the V5_Fonts and dont't forget to register it using "regasm V5_Fonts.dll /tlb:V5_Fonts.tlb /codebase" (take a look in the V5_Fonts_Register.bat file)

Comments (0)
Write comment
Your Contact Details:
Comment:
Security
Please input the anti-spam code that you can read in the image.