CanvasTextLayout.SetFontWeight Method |
Sets the font weight of the specified group of characters.
Namespace:
Microsoft.Graphics.Canvas.Text
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntaxpublic void SetFontWeight(
int characterIndex,
int characterCount,
FontWeight fontWeight
)
Parameters
- characterIndex
- Type: System.Int32
- characterCount
- Type: System.Int32
- fontWeight
- Type: Windows.UI.Text.FontWeight
RemarksFont weight is the density of a typeface, in terms of the lightness or heaviness of the strokes.
See Also