Click or drag to resize
CanvasTextLayoutSetTypography Method
Sets the typography features that affect a 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 SetTypography(
	int characterIndex,
	int characterCount,
	CanvasTypography typography
)

Parameters

characterIndex
Type: SystemInt32
characterCount
Type: SystemInt32
typography
Type: Microsoft.Graphics.Canvas.TextCanvasTypography
Remarks

It's valid to specify a null typography.

CanvasTypography objects are mutable. Setting a typography object to character positions in a text layout doesn't 'snap' its state. Rather, modifying a CanvasTypography will affect any layouts to which it has been set.

See Also