Click or drag to resize
TextSelectionEndKey Method
Mimics the functionality of the End key.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public int EndKey(
	bool ctrl,
	RangeShiftType extend
)

Parameters

ctrl
Type: SystemBoolean
Whether to simulate the CTRL key (false = end of line, true = end of story).
extend
Type: TextObjectModelRangeShiftType
Flag that indicates how to change the selection.

Return Value

Type: Int32
The count of characters that the insertion point or the active end is moved.
See Also