←Select platform

GotoBookmark Method (DocumentViewer)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents.UI Assembly
Click or drag to resize