Click or drag to resize
CanvasTextLayoutSetFontWeight 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
Syntax
C#
public void SetFontWeight(
	int characterIndex,
	int characterCount,
	FontWeight fontWeight
)

Parameters

characterIndex
Type: SystemInt32
characterCount
Type: SystemInt32
fontWeight
Type: Windows.UI.TextFontWeight
Remarks
Font weight is the density of a typeface, in terms of the lightness or heaviness of the strokes.
See Also