TextConstants.UndefinedFontStyle 屬性

定義

取得未定義的字型樣式。

public:
 static property FontStyle UndefinedFontStyle { FontStyle get(); };
static FontStyle UndefinedFontStyle();
public static FontStyle UndefinedFontStyle { get; }
var fontStyle = TextConstants.undefinedFontStyle;
Public Shared ReadOnly Property UndefinedFontStyle As FontStyle

屬性值

未定義的字型樣式。

備註

擷取字型樣式屬性時,這個值表示某個範圍至少有兩個文字會以該屬性的不同值執行。 設定字型樣式屬性時,這個值表示屬性未定義;也就是說,如果 ITextCharacterFormat 套用至範圍,則不會套用它。 這個值會與 ITextCharacterFormat.FontStyle 屬性搭配使用。

適用於