LEADTOOLS PDF (Leadtools.Pdf assembly)
LEAD Technologies, Inc

TargetPosition Property (PDFInternalLink)






Gets or sets the position in target page to scroll to for this internal link.
Syntax
public PDFPoint TargetPosition {get; set;}
'Declaration
 
Public Property TargetPosition As PDFPoint
'Usage
 
Dim instance As PDFInternalLink
Dim value As PDFPoint
 
instance.TargetPosition = value
 
value = instance.TargetPosition
public PDFPoint TargetPosition {get; set;}
 get_TargetPosition();
set_TargetPosition(value);
public:
property PDFPoint TargetPosition {
   PDFPoint get();
   void set (    PDFPoint value);
}

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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFInternalLink Structure
PDFInternalLink Members
PDF Coordinate System

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.