Struct FontInfo
Defines font information. This is different from Font as contains only font properties and no font handle.
public struct FontInfo
Constructors
- FontInfo()
Initializes a new instance of the FontInfo struct.
- FontInfo(string, double, FontStyle)
Initializes a new FontInfo using a specified font familty name, size in points and style.
Properties
- DefaultFontFamily
Gets or sets default font family for the FontInfo instances.
- DefaultSizeInPoints
Gets or sets default font size for the FontInfo instances.
- FontFamily
Gets the FontFamily name associated with the font.
- SizeInPoints
Gets the em-size, in points, of the font.
- Style
Gets font style information.
Methods
Operators
- implicit operator FontInfo(Font)
Implicit operator conversion from the Font instance.
- implicit operator Font(FontInfo)
Implicit operator conversion to the Font instance.