Method GetAvailableFontStyle
GetAvailableFontStyle(FontFamily, FontStyle)
Indicates whether the specified System.Drawing.FontStyle enumeration is available.
public static FontStyle GetAvailableFontStyle(FontFamily fontFamily, FontStyle desiredStyle)
Parameters
fontFamily
FontFamilyFontFamily to test.
desiredStyle
FontStyleThe System.Drawing.FontStyle to test.
Returns
- FontStyle
The FontStyle available for specified FontFamily object.