TextRunTypographyProperties.Variants 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示要使用的标准版式窗体的变体。
public:
abstract property System::Windows::FontVariants Variants { System::Windows::FontVariants get(); };
public abstract System.Windows.FontVariants Variants { get; }
member this.Variants : System.Windows.FontVariants
Public MustOverride ReadOnly Property Variants As FontVariants
属性值
其中一个 FontVariants 值。 默认值为 Normal。
注解
变体类似于上标或下标字体形式。 字体窗体可以包含上标和序号形式之间的不同字形集,也可以在下标和下标和下标形式之间包含不同的字形集。 该 Variants 属性允许为 OpenType 字体设置上标和下标值。
以下文本显示了 Palatino Linotype 字体的上标符号。
上标示例
以下文本显示 Palatino Linotype 字体的下标。
下标示例
不支持变体的字体可能具有字体形式的算法近似值。