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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.