←Select platform

RunLinkTarget Method

Summary

Invoke the specified document link target page fit and zoom properties.

Syntax
C#
C++/CLI
public void RunLinkTarget( 
   DocumentLinkTarget linkTarget 
) 
public:  
   void RunLinkTarget( 
      DocumentLinkTarget^ linkTarget 
   ) 

Parameters

linkTarget

Properties of the link target to invoke. Only the page fit and zoom percentage is used.

Remarks

This method is called by DocumentViewer.RunLinkTarget. Refer to this method for more information.

RunLinkTarget only applies the DocumentLinkTarget.PageFitType and ZoomPercent.

Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Document; 
using Leadtools.Document.Viewer; 
using Leadtools.Codecs; 
using Leadtools.Caching; 
using Leadtools.Annotations.Engine; 
using Leadtools.Ocr; 
 
 
// Create a new DocumentLink 
// First the target, goto page number 3 and fit width 
var linkTarget = new DocumentLinkTarget(); 
linkTarget.PageNumber = 3; 
linkTarget.PageFitType = DocumentPageFitType.FitWidth; 
// Now the link, of type goto-page 
var link = new DocumentLink(); 
link.LinkType = DocumentLinkType.TargetPage; 
link.Target = linkTarget; 
 
// Run this link 
_documentViewer.RunLinkTarget(linkTarget); 
Requirements

Target Platforms

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

Leadtools.Document.Viewer.WinForms Assembly

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