FontStyle

FontStyle serializable, flag

System.Drawing (system.drawing.dll) enum

This enumeration provides a set of style modifiers that can be used on a Font . Because it is marked with the FlagsAttribute , you can combine several values using the bitwise operator (e.g., ) to generate compound styles such as (Bold Italic) .

 public enum  FontStyle  {  Regular = 0x00000000  ,  Bold = 0x00000001  ,  Italic = 0x00000002  ,  Underline = 0x00000004  ,  Strikeout = 0x00000008  } 

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) FontStyle

Returned By

Font.Style

Passed To

Font.Font() , FontFamily.{GetCellAscent() , GetCellDescent() , GetEmHeight() , GetLineSpacing() , IsStyleAvailable()}



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net