語言

TextElement.FontStyle 屬性

定義

取得或設定此元素內容的字體樣式。

public:
 property FontStyle FontStyle { FontStyle get(); void set(FontStyle value); };
FontStyle FontStyle();

void FontStyle(FontStyle value);
public FontStyle FontStyle { get; set; }
var fontStyle = textElement.fontStyle;
textElement.fontStyle = fontStyle;
Public Property FontStyle As FontStyle
<textElement FontStyle="fontStyleMemberName"/>

屬性值

其中一個 FontStyle 常數名稱,用來指定字型樣式。 預設值為 [標準]。

適用於