Error processing SSI file
LEADTOOLS PDF (Leadtools.Pdf assembly)

Show in webframe

TargetPosition Property (PDFBookmark)






Position in target page to scroll to of this bookmark.
Syntax
public PDFPoint TargetPosition {get; set;}
'Declaration
 
Public Property TargetPosition As PDFPoint
'Usage
 
Dim instance As PDFBookmark
Dim value As PDFPoint
 
instance.TargetPosition = value
 
value = instance.TargetPosition
public PDFPoint getTargetPosition()
public void setTargetPosition(PDFPoint position)
            
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 PDFBookmark.

Requirements

Target Platforms

See Also

Reference

PDFBookmark Structure
PDFBookmark Members
PDF Coordinate System

Error processing SSI file
   Leadtools.Pdf requires a PDF Pro, Pro Suite, Document, or Medical license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features