pageFitType Property

Summary

Indicate how to fit the target page.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentLinkTarget.prototype, 'pageFitType', 
   get: function(), 
   set: function(value) 
) 
pageFitType: DocumentPageFitType; 

Property Value

A value that indicate how to fit the target page. Default value is DocumentPageFitType.None.

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.

Requirements

Target Platforms

Help Version 23.0.2024.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.