Click or drag to resize
CanvasTextLayoutGetFontWeight Method
Gets the font weight for the character at the specified position.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public FontWeight GetFontWeight(
	int characterIndex
)

Parameters

characterIndex
Type: SystemInt32

Return Value

Type: FontWeight
Remarks
Font weight is the density of a typeface, in terms of the lightness or heaviness of the strokes.
See Also