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 > PDFInitialViewOptions Class : Position Property |
public PDFPoint Position {get; set;}
'Declaration
Public Property Position As PDFPoint
'Usage
Dim instance As PDFInitialViewOptions Dim value As PDFPoint instance.Position = value value = instance.Position
Set this property to indicate the position to scroll to when the PDF file is opened.
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.