Selection.ExtendMode Property

Determines if Extend mode is active.

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

Syntax

'Declaration
Property ExtendMode As Boolean
    Get
    Set
'Usage
Dim instance As Selection
Dim value As Boolean

value = instance.ExtendMode

instance.ExtendMode = value
bool ExtendMode { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if Extend mode is active, and False if not.

When Extend mode is active, the Extend argument of the following methods is True by default: EndKey, HomeKey, MoveDown, MoveLeft, MoveRight, and MoveUp. Also, the letters "EXT" appear on the status bar.

This property can only be set during run time. The Extend arguments of the EndOf and StartOf methods are not affected by this property.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace