TextElement.FontWeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the top-level font weight to select from the font family for the content in this element.
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"/>
Property Value
One of the FontWeights property values, specifying the font weight. The default is Normal.