Font class

Font class

Class representing a font.

The Font type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the Font class with a specified font family name and a size.
init Initializes a new instance of the Font class with a specified font family name, a size and a style.
init Initializes a new instance of the Font class with a specified custom font family name, folder path with a font and a size.
init Initializes a new instance of the Font class with a specified custom font family name, folder path with a font and a size.

Properties

Property Description
family_name Gets the family name of this Font.
folder_path Represents the folder that contains TrueType font files.
size Gets the size of this Font.
style Gets the style information for this Font.
bold Gets a value indicating whether the font is bold.
italic Gets a value indicating whether the font is italic.
strikeout Gets a value indicating whether the font specifies a horizontal line through the font.
underline Gets a value indicating whether the font is underlined.

See Also