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)
Usage
Dim selection1 As Selection
Dim returnValue As Boolean
returnValue = selection1.ExtendMode
Dim sampleValue As Boolean
selection1.ExtendMode = sampleValue
Syntax
Property ExtendMode() As Boolean
bool ExtendMode {get; set;}
property Boolean ExtendMode{
Boolean get();
Void set(Boolean);
}
public boolean get_ExtendMode();
public void set_ExtendMode(boolean);
function get ExtendMode() : Boolean;
function set ExtendMode(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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Selection Interface
Microsoft.Office.Interop.Word Namespace