Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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