Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
Leadtools.Pdf Assembly > Leadtools.Pdf Namespace > PDFBookmark Structure : TargetPosition Property |
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)
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.
For an example, refer to PDFBookmark.