Drawing3d documented Class Library

FeaturesW32.FindFont Method

Find the index of a Font in the LoadedFonts

[Visual Basic]
Public Shared Sub FindFont( _
   ByVal Name As String, _
   ByVal FS As FontStyle _
)
[C#]
public static int FindFont(
   string Name,
   FontStyle FS
);

Parameters

Name
Name of the Font
FS
Fontsyle of the font

Return Value

Index in the LoadedFonts array, if it exists else -1.

See Also

FeaturesW32 Class | Drawing3d.OS.Windows Namespace