FontStyle
System.Drawing.FontStyle
Namespace: System.Drawing
Assembly: System.Drawing.Managed (4.0.0.0)
Specifies style information applied to text.
public enum FontStyle : EnumPublic Enum FontStyle As [Enum]Fields
Bold
Bold text.
Italic
Italic text.
Regular
Normal text.
Strikeout
Text with a line through the middle.
Underline
Underlined text.
Used By
Gets style information for this Font.
Returns the cell ascent, in design units, of the FontFamily of the specified style.
Returns the cell descent, in design units, of the FontFamily of the specified style.
Returns the height, in design units, of the FontFamily of the specified style.
Returns 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.
Indicates whether the specified FontStyle enumeration is available.
Last updated
Was this helpful?