Constructors
FontPart
2 overloadsFontPart()Initializes a newwith default (unspecified) values.
FontPart(string fontName, double size, bool bold, bool italic)Initializes a newwith the given font name, size, and optional bold/italic.
Parameters
- fontName
- Name of the font (e.g., "Arial", "Times New Roman").
- size
- Font size in points.
- bold
- If, sets bold style.
- italic
- If, sets italic style.