FontStyle
Namespace: System.Drawing
Assembly: System.Drawing.Managed (4.0.0.0)
Specifies style information applied to text.
- C#
- VB.NET
public enum FontStyle : Enum
Public Enum FontStyle As [Enum]
Fields
| Name | Description |
|---|---|
| Bold | Bold text. |
| Italic | Italic text. |
| Regular | Normal text. |
| Strikeout | Text with a line through the middle. |
| Underline | Underlined text. |
Used By
| Name | Description |
|---|---|
| Font.Style | Gets style information for this Font. |
| FontFamily.GetCellAscent | Returns the cell ascent, in design units, of the FontFamily of the specified style. |
| FontFamily.GetCellDescent | Returns the cell descent, in design units, of the FontFamily of the specified style. |
| FontFamily.GetEmHeight | Returns the height, in design units, of the FontFamily of the specified style. |
| FontFamily.GetLineSpacing | 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. |
| FontFamily.IsStyleAvailable | Indicates whether the specified FontStyle enumeration is available. |