printStyles Property

Summary

An array of style elements to be applied when printing.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentPrintData.prototype, 'printStyles', 
	get: function(), 
	set: function(value) 
) 
printStyles: HTMLElement[]; 

Property Value

An array of HTMLStyleElement. Not null unless set to null by the user.

Remarks

In order to improve printing results across multiple browser and device combinations, styles are applied to the document of the parent element in DocumentViewer.OpenBrowserPrint. If the parent argument is an HTMLIFrameElement, then the styles are applied to the frame’s internal document.

These styles are applied when the brower’s print dialog is opened for printing. The user may add additional styles to PrintStyles to change the styles of the printed document, or remove styles if they wish.

For more information, refer to DocumentViewer.Print.

History

19.0.0.48
Added

Requirements

Target Platforms

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

Leadtools.Document.Viewer Assembly