gotoBookmark Method

Summary

Invokes the target of the specified document bookmark.

Syntax

JavaScript Syntax
DocumentViewer.prototype.gotoBookmark = function( 
   bookmark 
) 
TypeScript Syntax
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 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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly