←Select platform

TargetPosition Property

Summary

Position in target page to scroll to of this bookmark.

Syntax
C#
VB
C++
Java
public PDFPoint TargetPosition { get; set; } 
Public Property TargetPosition As PDFPoint 
public PDFPoint getTargetPosition() 
public void setTargetPosition(PDFPoint position) 
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 PDFBookmark.

Requirements

Target Platforms

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

Leadtools.Pdf Assembly