printStyles Property (original) (raw)

Summary

An array of style elements to be applied when printing.

Syntax

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