Method InitStyle
InitStyle(FontStyle)
Adds specified style to the style collection.
public FontInfo? InitStyle(FontStyle style)
Parameters
style
FontStyleStyle 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
fontName
stringSpecifies Font Name.
style
FontStyleStyle to add.
fontHeight
intSpecifies Font Height.
Returns
- FontInfo
FontInfo that corresponds to the specified style.