Font

Font(string, float)

Initializes a new instance of the Font class with a specified font family name and a size.

public Font(string fontFamilyName, float size)
Parameter Type Description
fontFamilyName String The font family name.
size Single The size of the new font.

See Also


Font(string, float, FontStyle)

Initializes a new instance of the Font class with a specified font family name, a size and a style.

public Font(string fontFamilyName, float size, FontStyle style)
Parameter Type Description
fontFamilyName String The font family name.
size Single The size of the new font.
style FontStyle The style of the new font.

See Also


Font(string, string, float)

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

public Font(string fontFamilyName, string folderPath, float size)
Parameter Description
fontFamilyName The font family name.
folderPath Folder path which contains TrueType font files
size The size of the new font.
style The style of the new font.

See Also


Font(string, string, float, FontStyle)

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

public Font(string fontFamilyName, string folderPath, float size, FontStyle style)
Parameter Description
fontFamilyName The font family name.
folderPath Folder path which contains TrueType font files
size The size of the new font.

See Also