Back to Devexpress

DocumentPosition Members

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documentposition-dot-underscore-members.md

latest5.5 KB
Original Source

DocumentPosition Members

A position within a document.

Methods

NameDescription
BeginUpdateDocument()Starts modifying the document obtained via the document’s position (e.g. via the caret position).
EndUpdateDocument(SubDocument)Finalizes modifications performed for the document obtained via the document’s position (e.g. via the caret position).
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current DocumentPosition instance.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current DocumentPosition object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToInt()Returns an integer representation of the DocumentPosition object.
ToString()Converts the numeric value of this instance to its equivalent string representation.

Operators

NameDescription
Equality(DocumentPosition, DocumentPosition) staticCompares two DocumentPosition objects for equality.
GreaterThan(DocumentPosition, DocumentPosition) staticEvaluates two DocumentPosition instances to determine if one instance is greater than the other.
GreaterThanOrEqual(DocumentPosition, DocumentPosition) staticEvaluates two DocumentPosition instances to determine whether one instance is greater than or equal to the other.
Inequality(DocumentPosition, DocumentPosition) staticCompares two DocumentPosition objects to determine whether they are not equal.
LessThan(DocumentPosition, DocumentPosition) staticEvaluates two DocumentPosition instances to determine whether one instance is less than the other.
LessThanOrEqual(DocumentPosition, DocumentPosition) staticEvaluates two DocumentPosition instances to determine whether one instance is less than or equal to the other.

See Also

DocumentPosition Class

DevExpress.XtraRichEdit.API.Native Namespace