viewportSize Property

Summary

The size of the printed viewport, for reference, if PrintDocumentOptions.UseViewportLayout is used.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentPrintData.prototype, 'viewportSize', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
viewportSize: LeadSizeD; 

Property Value

A LeadSizeD indicating the size of the viewport used for printing, or LeadSizeD.Empty if PrintDocumentOptions.UseViewportLayout is false.

Remarks

When PrintDocumentOptions.UseViewportLayout is true, the printed pages from PrintDocumentOptions.PagesList will be arranged based on their relative positions in the ImageViewer.ViewLayout of the DocumentViewerView.ImageViewer.

ViewportSize will be set to the ImageViewer.ControlSize to indicate the viewport being used. All image data for the pages will be available at ViewportImage.

For more information, refer to DocumentViewer.Print.

History

19.0.0.54
Added
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly