DocumentPageFitType Enumeration

Summary

Specifies how to fit the page when an internal link is invoked.

Syntax
TypeScript
JavaScript
lt.Document.DocumentPageFitType = { 
   none: 0, 
   fit: 1, 
   fitAlways: 2, 
   fitWidth: 3, 
   fitHeight: 4 
} 
lt.Document.DocumentPageFitType = { 
   none: 0, 
   fit: 1, 
   fitAlways: 2, 
   fitWidth: 3, 
   fitHeight: 4 
} 
Members

0

None

(0) No fitting. Use Position and ZoomPercent if they have valid values.

1

Fit

(1) Show the whole page in the view. If the page is smaller, do not zoom in.

2

FitAlways

(2) Show the whole page in the view. If the page is smaller, zoom in to fit.

3

FitWidth

(1) Fit page width.

4

FitHeight

(2) Fit page height.

Remarks

DocumentPageFitType is used as the value for DocumentLinkTarget.PageFitType.

Requirements

Target Platforms

See Also

Reference

Leadtools.Document Namespace

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

Leadtools.Document Assembly

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