←Select platform

ZoomPercent Property

Summary

Zoom percentage to use after moving to the page.

Syntax

C#
VB
Java
C++
public int ZoomPercent { get; set; } 
Public Property ZoomPercent() As Integer 
   Get 
   Set 
public:  
   property int ZoomPercent 
   { 
      int get() 
      void set(int value) 
   } 
public int getZoomPercent() 
public void setZoomPercent(int value) 

Property Value

The zoom percentage to use after moving to the page. Default value is 0.

Remarks

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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly