Method InitStyle
InitStyle(FontStyle)
Adds specified style to the style collection.
public FontInfo? InitStyle(FontStyle style)
Parameters
styleFontStyleStyle to add.
Returns
- FontInfo
FontInfo that corresponds to the specified style.
InitStyle(string, FontStyle, int)
Adds specified style to the style collection.
public FontInfo? InitStyle(string fontName, FontStyle style, int fontHeight)
Parameters
fontNamestringSpecifies Font Name.
styleFontStyleStyle to add.
fontHeightintSpecifies Font Height.
Returns
- FontInfo
FontInfo that corresponds to the specified style.