SetFontWeight Method (FontWeight)
Collapse the table of content
Expand the table of content

FormattedText.SetFontWeight Method (FontWeight)


Sets the font weight for the entire set of characters in the FormattedText object.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

member SetFontWeight : 
        weight:FontWeight -> unit


Type: System.Windows.FontWeight

The FontWeight to use for text formatting.

FontWeight supports type conversion behavior such that static values of the FontWeights class can be used to initialize FontWeight and fill parameters that are type FontWeight.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft