| TextSelectionEndKey Method |
Mimics the functionality of the End key.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public int EndKey(
bool ctrl,
RangeShiftType extend
)
Public Function EndKey (
ctrl As Boolean,
extend As RangeShiftType
) As Integer
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:
Int32The count of characters that the insertion point or the active end is moved.
See Also