Back to Devexpress

DocumentPosition Methods

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

latest3.1 KB
Original Source

DocumentPosition Methods

A position within a document.

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.

See Also

DocumentPosition Class

DocumentPosition Members

DevExpress.XtraRichEdit.API.Native Namespace