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 常數名稱,指定字型樣式。 預設值為 Normal

適用於