TextMetricsPitchAndFamilyValues 枚举

定义

指定特定元素的字体的间距、技术和系列的信息,这些信息由一个视觉样式指定。Specifies information about the pitch, technology, and family of the font specified by a visual style for a particular element.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class TextMetricsPitchAndFamilyValues
[System.Flags]
public enum TextMetricsPitchAndFamilyValues
type TextMetricsPitchAndFamilyValues = 
Public Enum TextMetricsPitchAndFamilyValues
继承
TextMetricsPitchAndFamilyValues
属性

字段

Device 8

该字体为设备字体。The font is a device font.

FixedPitch 1

如果设置了此值,则该字体为可变间距字体。If this value is set, the font is a variable pitch font. 否则,该字体为固定间距字体。Otherwise, the font is a fixed-pitch font.

TrueType 4

该字体为 TrueType 字体。The font is a TrueType font.

Vector 2

该字体为矢量字体。The font is a vector font.

注解

枚举指定TextMetrics结构的PitchAndFamily属性的可能值。 TextMetricsPitchAndFamilyValuesThe TextMetricsPitchAndFamilyValues enumeration specifies the possible values of the PitchAndFamily property of the TextMetrics structure.

适用于