Invoke the specified document link target page fit and zoom properties.
public void RunLinkTarget(
DocumentLinkTarget linkTarget
)
public:
void RunLinkTarget(
DocumentLinkTarget^ linkTarget
)
linkTarget
Properties of the link target to invoke. Only the page fit and zoom percentage is used.
This method is called by DocumentViewer.RunLinkTarget. Refer to this method for more information.
RunLinkTarget only applies the DocumentLinkTarget.PageFitType and ZoomPercent.
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);
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document