root Property

Summary

The root of the printing elements in Pages.

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

Property Value

An HTMLElement created in BuildPrintRoot that holds the print pages from Pages. null until BuildPrintRoot is called.

Remarks

When DocumentViewer.Print is completed successfully, BuildPrintRoot is run to take the page and annotations elements from DocumentPrintPageData and append them into the structure to be printed.

When PrintDocumentOptions.AutoOpenBrowserPrint is true, this Root is passed as the second argument to DocumentViewer.OpenBrowserPrint. The user may make changes to the DocumentPrintData and DocumentPrintPageData and then rebuild the Root element by calling BuildPrintRoot.

For more information, refer to DocumentViewer.Print.

History

19.0.0.48
Added

Requirements

Target Platforms

Help Version 20.0.2019.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly