printSizeDpi Property

Summary

The size of the image on this page for printing, in pixels.

Syntax

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

Property Value

The size of the image for this page. The default value is LeadSizeD.Empty.

Remarks

PrintSizeDpi is computed from PrintDocumentOptions.PageSize and PrintDocumentOptions.Dpi and indicates the size of the image that will be printed within the container of size PrintSize. In this way, the DPI effect is created by fitting the image of size PrintSizeDpi into its parent of size PrintSize.

PrintSizeDpi should match the size of the PageElement. AnnotationsElement is not affected by PrintDocumentOptions.Dpi.

For more information, refer to DocumentViewer.Print.

History

19.0.0.53
Added. Prior to this version, PrintSize was also the size of the image, and DPI was always considered to be 96.
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