Selection.Flags Property

Definition

Returns or sets properties of the selection.

public:
 property Microsoft::Office::Interop::Word::WdSelectionFlags Flags { Microsoft::Office::Interop::Word::WdSelectionFlags get(); void set(Microsoft::Office::Interop::Word::WdSelectionFlags value); };
public Microsoft.Office.Interop.Word.WdSelectionFlags Flags { get; set; }
member this.Flags : Microsoft.Office.Interop.Word.WdSelectionFlags with get, set
Public Property Flags As WdSelectionFlags

Property Value

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.

Applies to