共用方式為


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

適用於