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 字型。
下標的範例
不支援變體的字型可能有字型表單的演算法近似值。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應