Leadtools.Documents.UI Namespace > DocumentViewer Object : GotoBookmark Method |
function Leadtools.Documents.UI.DocumentViewer.gotoBookmark( bookmark )
Parameter | Type | Description |
---|---|---|
bookmark | DocumentBookmark | Bookmark with the target to invoke. This value cannot be null. |
GotoBookmark is called internally when the user user clicks on an item created by Bookmarks. The bookmark objects are parsed from the current document using DocumentStructure.Bookmarks of the current Document.
The application can create a custom bookmark object and call this method to invoke it.
In either case, the document viewer will call RunLinkTarget of the value of Target of bookmark.