←Select platform

TargetPosition Property

Summary

Position in target page to scroll to for this internal link.

Syntax

C#
VB
Java
C++
public PDFPoint TargetPosition { get; set; } 
Public Property TargetPosition As Leadtools.Pdf.PDFPoint 
public PDFPoint getTargetPosition() 
public void setTargetPosition(PDFPoint position) 
             
public: 
property Leadtools.Pdf.PDFPoint TargetPosition { 
   Leadtools.Pdf.PDFPoint get(); 
   void set (    Leadtools.Pdf.PDFPoint ); 
} 

Property Value

A PDFPoint that represents the position, in PDF units (1/72 of an inch and bottom-left), of the target page to scroll to. The default value is an empty PDFPoint.

Remarks

The position is in PDF units (1/72 of an inch and bottom-left). So to go to the top of the page, you must go to "0, PageHeight". You can use the PDFDocumentPage.ConvertPoint helper method to convert from pixel or inches to PDF units and back.

Example

For an example, refer to PDFInternalLink.

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.Pdf Assembly