Font

Font(string, float)

初始化一个新的实例Font具有指定字体系列名称和大小的类。

public Font(string fontFamilyName, float size)
范围 类型 描述
fontFamilyName String 字体系列名称。
size Single 新字体的大小。

也可以看看


Font(string, float, FontStyle)

初始化一个新的实例Font具有指定字体系列名称、大小和样式的类。

public Font(string fontFamilyName, float size, FontStyle style)
范围 类型 描述
fontFamilyName String 字体系列名称。
size Single 新字体的大小。
style FontStyle 新字体的样式。

也可以看看