SubDocument.SelectBookmark(Bookmark) Method
OBSOLETE
This method has become obsolete. Use the 'Select' method instead.
Selects a range associated with the specified bookmark.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v18.2.Core.dll
Declaration
[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.BookmarkCollection.Select(Bookmark bookmark)' method instead.")]
void SelectBookmark(
Bookmark bookmark
)
Parameters
Name | Type | Description |
---|---|---|
bookmark | Bookmark | A Bookmark object representing a bookmark in the document. |
Remarks
If the bookmark is located in a header or in a footer, use the Document.ChangeActiveDocument method to ensure proper document selection operation.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectBookmark(Bookmark) 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.