The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.

GetByVisualInfo(CustomMarkVisualInfo)

Obtains a custom mark by its visual info available in the RichEditControl.CustomMarkDraw event handler.

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