勇芳软件工作室.汉化:  GDI+ Reference > Enumerations >

FontStyle

Previous pageReturn to chapter overviewNext page

FontStyle枚举指定字体字体的样式。风格可以组合。

 

C++ 语法

 

typedef enum {

FontStyleRegular = 0,

FontStyleBold = 1,

FontStyleItalic = 2,

FontStyleBoldItalic = 3,

FontStyleUnderline = 4,

FontStyleStrikeout = 8

} FontStyle;

 

PowerBASIC 语法

 

%FontStyleRegular = 0

%FontStyleBold = 1

%FontStyleItalic = 2

%FontStyleBoldItalic = 3

%FontStyleUnderline = 4

%FontStyleStrikeout = 8

 

常量

 

FontStyleRegular

 

指定字体的正常重量或厚度。

 

FontStyleBold

 

指定粗体字体。粗体重量或厚度较重。

 

FontStyleItalic

 

指定斜体字体,产生一个明显的倾斜到字符的垂直句柄。

 

FontStyleBoldItalic

 

将字体指定为粗体和斜体。

 

FontStyleUnderline

 

指定下划线,显示字符基线下方的一行。

 

FontStyleStrikeout

 

指定出口,其显示通过中间字符绘制的水平线。