pageElement Property

Summary

The HTMLElement to be used in printing the page.

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

Property Value

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

Remarks

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.

History

19.0.0.48
Added
Requirements

Target Platforms

Help Version 22.0.2023.4.18
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.