Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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

NuGet Package: DevExpress.RichEdit.Core

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