語言

TextElement.FontWeight 屬性

定義

取得或設定頂層字體權重,以便從該元素內容的字型家族中選擇。

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

void FontWeight(FontWeight value);
public FontWeight FontWeight { get; set; }
var fontWeight = textElement.fontWeight;
textElement.fontWeight = fontWeight;
Public Property FontWeight As FontWeight
<textElement FontWeight="fontWeightsValue"/>

屬性值

其中一個 FontWeights 屬性值,指定字型權重。 預設值為 [標準]。

適用於