Font

Font class

Class representing a font.

public sealed class Font

Constructors

Name Description
Font(string, float) Initializes a new instance of the Font class with a specified font family name and a size.
Font(string, float, FontStyle) Initializes a new instance of the Font class with a specified font family name, a size and a style.

Properties

Name Description
Bold { get; } Gets a value indicating whether the font is bold.
FamilyName { get; } Gets the family name of this Font.
Italic { get; } Gets a value indicating whether the font is italic.
Size { get; } Gets the size of this Font.
Strikeout { get; } Gets a value indicating whether the font specifies a horizontal line through the font.
Style { get; } Gets the style information for this Font.
Underline { get; } Gets a value indicating whether the font is underlined.

See Also