.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
A newer version of this page is available.

SubDocument.DeleteCustomMark(CustomMark) Method

Obsolete. Delete specified custom mark from the document’s collection.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll


[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.CustomMarkCollection.Remove(CustomMark customMark)' method instead.")]
void DeleteCustomMark(
    CustomMark customMark


Name Type Description
customMark CustomMark

A CustomMark object that marks a position in the document.


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


A custom mark is linked to a certain text run, and moves with the content if a text is deleted or inserted before the marked position. It is not saved when the document is exported to any format, and you should provide a way to create it again when a document is loaded.

See Also