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