Selection.Flags Property
Returns or sets properties of the selection.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Flags As WdSelectionFlags
Get
Set
'Usage
Dim instance As Selection
Dim value As WdSelectionFlags
value = instance.Flags
instance.Flags = value
WdSelectionFlags Flags { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdSelectionFlags
Remarks
The return value of the Flags property is the sum of the WdSelectionFlags constants that apply to the selection.
Setting the Flags property to wdSelAtEOL will make the end of the selection active.