Font Properties

The Font type exposes the following members.

Properties

Name Description
Public property Antialiased

Gets or sets a value that indicates whether the text is antialiased.

Public property Ascent

Get an ascent of the current font.

Public property AverageCharWidth

Gets an average character width of the current font.

Public property Bold

Gets or sets a value that indicates whether the text is bold.

Public property ClearType

Gets or sets a value that indicates whether the ClearType antialiasing is used for fonts (optimized for LCD monitors).

Public property Descent

Get an descent of the current font.

Public property EmHeight

Gets an em height of the font (also known as em square or em size).

Public property ExternalLeading

Gets an external leading of the current font.

Public property GdiCharset

Gets or sets a charset for displaying non-Unicode characters.

Public property HorizontalAlignment

Gets or sets a horizontal text alignment.

Public property InternalLeading

Gets an internal leading of the current font.

Public property Italic

Gets or sets a value that indicates whether the text is italic.

Public property LineGap

Gets a line gap of the current font.

Public property MaximumCharWidth

Gets a width of the widest character in the font.

Public property Name

Gets a typeface name of the font.

Public property Size

Gets or sets a font size.

Public property Strikeout

Gets or sets a value that indicates whether the text is stricken out.

Public property Tracking

Gets or sets a font tracking (also known as intercharacter spacing).

Public property Underline

Gets or sets a value that indicates whether the text is underlined.

Public property VerticalAlignment

Gets or sets a horizontal text alignment.

Public property Weight

Gets or sets a font weight.

See Also

Reference