←Select platform

Position Property

Summary

Position in the initial page to scroll to.

Syntax
C#
VB
C++
public PDFPoint Position { get; set; } 
Public Property Position As PDFPoint 
public: 
property PDFPoint Position { 
   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 initial page to scroll to. The default value is an empty PDFPoint.

Remarks

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.

Example

For an example, refer to PDFInitialViewOptions.

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