CustomMarkCollection.Create(DocumentPosition, Object) Method
Creates a custom mark at the specified position using the specified data and adds it to the collection.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
position | DocumentPosition | A DocumentPosition specifying the position of the custom mark. |
userData | Object | Data used to draw a custom mark. |
Returns
Type | Description |
---|---|
CustomMark | A CustomMark object specifying the created custom mark. |
See Also