printSizeDpi Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentPrintPageData.prototype, 'printSizeDpi', 
	get: function(), 
	set: function(value) 
) 
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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly