Click or drag to resize
CanvasTextLayoutGetCaretPosition Method (Int32, Boolean)
Gets position where the caret (text cursor) would be, given the current text position and caret direction.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public Vector2 GetCaretPosition(
	int characterIndex,
	bool trailingSideOfCharacter
)

Parameters

characterIndex
Type: SystemInt32
trailingSideOfCharacter
Type: SystemBoolean

Return Value

Type: Vector2
See Also