Export (0) Print
Expand All
Expand Minimize

Selection.MoveLeft Method

Moves the selection to the left and returns the number of units it's been moved.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

int MoveLeft(
	ref Object Unit,
	ref Object Count,
	ref Object Extend
)

Parameters

Unit
Type: System.Object%
Optional WdUnits. The unit by which the selection is to be moved.
Count
Type: System.Object%
Optional Object. The number of units the selection is to be moved. The default value is 1.
Extend
Type: System.Object%
Optional Object. Can be either wdMove or wdExtend. If wdMove is used, the selection is collapsed to the end point and moved to the left. If wdExtend is used, the selection is extended to the left. The default value is wdMove.

Return Value

Type: System.Int32

When the Unit is wdCell, the Extend argument will only be wdMove.

Community Additions

ADD
Show:
© 2014 Microsoft