←Select platform

GotoBookmark Method

Summary

Invokes the target of the specified document bookmark.

Syntax
C#
VB
C++
public virtual void GotoBookmark( 
   DocumentBookmark bookmark 
) 
Public Overridable Sub GotoBookmark( 
   ByVal bookmark As DocumentBookmark 
) 
public:  
   virtual void GotoBookmark( 
      DocumentBookmark^ bookmark 
   ) 

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

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 21.0.2020.9.23
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly