Skip to main content

FontStyle

Namespace: System.Drawing

Assembly: System.Drawing.Managed (4.0.0.0)

Specifies style information applied to text.

public enum FontStyle : Enum

Fields

NameDescription
BoldBold text.
ItalicItalic text.
RegularNormal text.
StrikeoutText with a line through the middle.
UnderlineUnderlined text.

Used By

NameDescription
Font.StyleGets style information for this Font.
FontFamily.GetCellAscentReturns the cell ascent, in design units, of the FontFamily of the specified style.
FontFamily.GetCellDescentReturns the cell descent, in design units, of the FontFamily of the specified style.
FontFamily.GetEmHeightReturns the height, in design units, of the FontFamily of the specified style.
FontFamily.GetLineSpacingReturns the line spacing, in design units, of the FontFamily of the specified style. The line spacing is the vertical distance between the base lines of two consecutive lines of text.
FontFamily.IsStyleAvailableIndicates whether the specified FontStyle enumeration is available.