Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.