共用方式為


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 屬性值,指定字型粗細。 預設值為 Normal

適用於