Back to Devexpress

ReadOnlyCustomMarkCollection Interface

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-5b0b3822.md

latest2.2 KB
Original Source

ReadOnlyCustomMarkCollection Interface

A collection of CustomMark objects in the document.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
public interface ReadOnlyCustomMarkCollection :
    ISimpleCollection<CustomMark>,
    IEnumerable<CustomMark>,
    IEnumerable,
    ICollection
vb
<ComVisible(True)>
Public Interface ReadOnlyCustomMarkCollection
    Inherits ISimpleCollection(Of CustomMark),
             IEnumerable(Of CustomMark),
             IEnumerable,
             ICollection

The following members return ReadOnlyCustomMarkCollection objects:

Remarks

Provides a method ReadOnlyCustomMarkCollection.Get that obtains all custom marks located in the specified document range. You can access individual items of this collection, but you cannot add or delete items. Use index notation to obtain an individual CustomMark object from this collection.

To access the ReadOnlyCustomMarkCollection object, use the RichEditControl.Document.CustomMarks.Get(DocumentRange range) method notation.

See Also

ReadOnlyCustomMarkCollection Members

DevExpress.XtraRichEdit.API.Native Namespace