Skip to main content

CustomMark Interface

Represents a custom mark in the document.

Namespace: DevExpress.XtraRichEdit.API.Native

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

#Declaration

[ComVisible(true)]
public interface CustomMark

#Returned By

The CustomMarkCollection.Create(DocumentPosition, Object) method returns an instance of CustomMark.

#Remarks

A custom mark enables you to draw attention to a position in a document. A visual element can be painted at the position associated with a custom mark. Custom marks are not saved when a document is exported to any format.

Use the SubDocument.CreateCustomMark method to create a mark, add it to the SubDocument.CustomMarks collection and visualize it by handling the CustomMark event.

See Also