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.v20.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Create(DocumentPosition, Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also