←Select platform

TargetPosition Property

Summary
Position in target page to scroll to for this internal link.
Syntax
C#
VB
C++
Java
public PDFPoint TargetPosition { get; set; } 
Public Property TargetPosition As PDFPoint 
public PDFPoint getTargetPosition(); 
public void setTargetPosition( 
   PDFPoint pDFPoint 
); 
public: 
property PDFPoint TargetPosition { 
   PDFPoint get(); 
   void set (    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 21.0.2021.7.6
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.