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

Bookmark Interface

Defines a bookmark in the document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll


public interface Bookmark


A Bookmark exposes a document range with a name. A range can have zero length. The name should start with a letter, and must be unique in the collection of bookmarks in the current document. This collection is accessible with the SubDocument.Bookmarks property.

To create a new bookmark, use the BookmarkCollection.Create method. The BookmarkCollection.Select method is helpful if you want to select a bookmark. The BookmarkCollection.Remove method deletes the specified bookmark.

Apart from the Document methods, the XtraRichEdit provides several commands for bookmarks - the CreateBookmarkCommand and the ShowBookmarkFormCommand.

Bookmarks in the document can be referenced by a Hyperlink. The Hyperlink.Anchor property specifies the bookmark to which the hyperlink is pointing.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Bookmark interface.


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