DocumentPageFitType Enumeration

Summary

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

Syntax

JavaScript Syntax
lt.Documents.DocumentPageFitType = { 
	None: 0, 
	Fit: 1, 
	FitAlways: 2, 
	FitWidth: 3, 
	FitHeight: 4 
} 
TypeScript Syntax
lt.Documents.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.Documents Namespace

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents Assembly
Click or drag to resize