gotoBookmark Method

Summary

Invokes the target of the specified document bookmark.

Syntax
TypeScript
JavaScript
DocumentViewer.prototype.gotoBookmark = function( 
   bookmark 
) 
gotoBookmark( 
   bookmark: DocumentBookmark 
): void; 

Parameters

bookmark

Bookmark with the target to invoke. This value cannot be null.

Remarks

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

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.

Requirements

Target Platforms

Help Version 22.0.2023.4.18
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.