printStyles Property

Summary

An array of style elements to be applied when printing.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentPrintData.prototype, 'printStyles', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly