←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI.WinForms Assembly