Share via


ITextSelection.IsEmpty Property

Definition

Determines whether the selection is empty.

public:
 property bool IsEmpty { bool get(); };
public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

Property Value

true if the selection is zero length, otherwise false.

Remarks

The selection is empty if the active and anchor points are the same point.

Applies to