SubDocument.DeleteCustomMark(CustomMark) Method
Obsolete. Delete specified custom mark from the document's collection.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v14.2.Core.dll
Declaration
[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.CustomMarkCollection.Remove(CustomMark customMark)' method instead.")]
void DeleteCustomMark(
CustomMark customMark
)
<Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.CustomMarkCollection.Remove(CustomMark customMark)' method instead.")>
Sub DeleteCustomMark(
customMark As CustomMark
)
Parameters
Name | Type | Description |
---|---|---|
customMark | CustomMark | A CustomMark object that marks a position in the document. |
Remarks
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.
NOTE
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