←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 Leadtools.Pdf.PDFPoint 
public: 
property Leadtools.Pdf.PDFPoint Position { 
   Leadtools.Pdf.PDFPoint get(); 
   void set (    Leadtools.Pdf.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly