Export (0) Print
Expand All

FontStyle Enumeration

Specifies style information applied to text.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
<Serializable>
Public Enum FontStyle
[C#]
[Flags]
[Serializable]
public enum FontStyle
[C++]
[Flags]
[Serializable]
__value public enum FontStyle
[JScript]
public
   Flags
 Serializable
enum FontStyle

Members

Member name Description Value
Bold

Supported by the .NET Compact Framework.

Bold text. 1
Italic

Supported by the .NET Compact Framework.

Italic text. 2
Regular

Supported by the .NET Compact Framework.

Normal text. 0
Strikeout

Supported by the .NET Compact Framework.

Text with a line through the middle. 8
Underline

Supported by the .NET Compact Framework.

Underlined text. 4

Requirements

Namespace: System.Drawing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Drawing (in System.Drawing.dll)

See Also

System.Drawing Namespace

Show:
© 2014 Microsoft