←Select platform

Position Property

Summary

Target position to use after moving to the page.

Syntax
C#
VB
C++
Java
public LeadPointD Position { get; set; } 
Public Property Position() As LeadPointD 
   Get 
   Set 
public:  
   property LeadPointD^ Position 
   { 
      LeadPointD^ get() 
      void set(LeadPointD^ value) 
   } 
public LeadPointD getPosition() 
public void setPosition(LeadPointD value) 

Property Value

The target position to use after moving to the page in document coordinates. Default value is 0,0.

Remarks

This value is in document coordinates. Refer to Document Library Coordinate System for more information.

Viewer applications would normally perform the following when a link target is invoked:

  1. Go to the page number specified in PageNumber.

  2. Check the value of PageFitType, if it is other than DocumentPageFitType.None then fit the page as specified.

  3. If the of PageFitType is DocumentPageFitType.None then use Position to scroll to a specific position in the page and optionally ZoomPercent to update the zoom value.

Viewer application should verify these values and can chose to support only partial implementation.

Example

For an example, refer to DocumentPage.GetLinks and DocumentStructure.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.