共用方式為


TextRunTypographyProperties.Variants 屬性

定義

取得值,這個值表示要使用的標準印制型態的變化。

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 字型。

使用 OpenType 上標的文字使用 OpenType 上
上標的範例

下列文字顯示下標 Palatino Linotype 字型。

使用 OpenType 下標的文字
下標的範例

不支援變體的字型可能有字型表單的演算法近似值。

適用於