Skip to main content

CustomMarkCollection Members

Represents a collection of custom marks in the document.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
Create(DocumentPosition, Object) Creates a custom mark at the specified position using the specified data and adds it to the collection.
Get(DocumentRange) Gets all custom marks located in the specified document range. Inherited from ReadOnlyCustomMarkCollection.
GetByVisualInfo(CustomMarkVisualInfo) Obtains a custom mark by its visual info available in the RichEditControl.CustomMarkDraw event handler. Inherited from ReadOnlyCustomMarkCollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Remove(CustomMark) Removes the specified custom mark from the collection.
See Also