Skip to main content

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.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

CustomMark Create(
    DocumentPosition position,
    object userData
)

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