pageElement Property


The HTMLElement to be used in printing the page.


JavaScript Syntax
Object.defineProperty(DocumentPrintPageData.prototype, 'pageElement', 
	get: function(), 
	set: function(value) 
TypeScript Syntax
pageElement: HTMLElement; 

Property Value

An HTMLElement for the image data of this printed page, or null if no data exists.


As DocumentViewer.Print prepares pages for printing, PageElement is set to the image data (often as an HTMLImageElement) that will be styled and sized appropriately when the browser print dialog is opened.

DocumentPrintData.BuildPrintRoot is called after DocumentViewer.Print completes to assemble PageElement and AnnotationsElement under a common parent, which then is appended to a new DocumentPrintData.Root.

When printing, styles will force AnnotationsElement to be presented over the top of PageElement. Action can control whether DocumentViewer.Print will get the image data or if the user can provide it instead.

For more information, refer to DocumentViewer.Print and DocumentViewer.OpenBrowserPrint.


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