Click or drag to resize
TextSelectionHomeKey Method
Mimics the functionality of the Home key.

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

Parameters

ctrl
Type: SystemBoolean
Whether to simulate the CTRL key (false = start of line, true = start 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