Skip to main content

CustomMarkCollection Methods

Represents a collection of custom marks in the document.
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