| TextSelectionMoveDown Method |
Mimics the functionality of the Down Arrow and Page Down keys.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public int MoveDown(
TextUnit unit,
int count,
RangeShiftType extend
)
Public Function MoveDown (
unit As TextUnit,
count As Integer,
extend As RangeShiftType
) As Integer
public:
int MoveDown(
TextUnit unit,
int count,
RangeShiftType extend
)
Parameters
- unit
- Type: TextObjectModelTextUnit
Unit to use in the operation. - count
- Type: SystemInt32
Number of Units to move past. - extend
- Type: TextObjectModelRangeShiftType
Flag that indicates how to change the selection.
Return Value
Type:
Int32the actual count of units the insertion point or active end is moved.
See Also