ImageGear .NET v24.12 - Updated
FindFont Method




ImageGear24.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorData Class : FindFont Method
Typeface of the font.
Font weight.
Flag that tells whether font to look for is Vector or TrueType.
Looks for the font with the specified typeface, weight and vector flag.
Syntax
'Declaration
 
Public Function FindFont( _
   ByVal typeface As String, _
   ByVal weight As Integer, _
   ByVal isVector As Boolean _
) As ImGearVectorFont
'Usage
 
Dim instance As ImGearVectorData
Dim typeface As String
Dim weight As Integer
Dim isVector As Boolean
Dim value As ImGearVectorFont
 
value = instance.FindFont(typeface, weight, isVector)
public ImGearVectorFont FindFont( 
   string typeface,
   int weight,
   bool isVector
)
public: ImGearVectorFont* FindFont( 
   string* typeface,
   int weight,
   bool isVector
) 
public:
ImGearVectorFont^ FindFont( 
   String^ typeface,
   int weight,
   bool isVector
) 

Parameters

typeface
Typeface of the font.
weight
Font weight.
isVector
Flag that tells whether font to look for is Vector or TrueType.

Return Value

Newly created ImGearVectorFont class object or null.
See Also

Reference

ImGearVectorData Class
ImGearVectorData Members