SubDocument.findBookmarks(arg) Method
In This Article
Returns an array of bookmarks that match the search conditions.
#Declaration
TypeScript
findBookmarks(
arg: number | Interval | Interval[] | string | RegExp
): Bookmark[]
#Parameters
Name | Type | Description |
---|---|---|
arg | string | number | Reg |
A bookmark name, or a regular expression, or a position or interval |
#Returns
Type | Description |
---|---|
Bookmark[] | An array of bookmarks. |
#Remarks
richEdit.document.activeSubDocument.findBookmarks(richEdit.selection.intervals);
You can use the bookmarksInfo property to get information about all bookmarks in the sub-document.
Refer to the following section for more information: Access a Structural Element.
See Also