SystemFonts.GetFontByName
SystemFonts.GetFontByName method
Returns a font object that corresponds to the specified system font name.
public static Font GetFontByName(string systemFontName)
Parameter | Type | Description |
---|---|---|
systemFontName | String | The name of the system font you need a font object for. |
Return Value
A Font if the specified name matches a value in SystemFonts; otherwise, null.
See Also
- class Font
- class SystemFonts
- namespace System.Drawing
- assembly Aspose.Drawing