Skip to main content

Selection Members

Contains information about document selection.

Constructors

Name Description
Selection(SubDocument, Interval[]) Initializes a new instance of the Selection class and selects the specified intervals.
Selection(SubDocument, Int32, Int32) Initializes a new instance of the Selection class and selects the specified interval.
Selection(SubDocument, Int32) Initializes a new instance of the Selection class and sets the caret position.

Properties

Name Description
ActiveSubDocument Returns the active sub-document.
CaretPosition Returns the caret position in the sub-document.
Intervals Gets an array of sub-document intervals in the selection.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also