root Property

Summary

The root of the printing elements in Pages.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentPrintData.prototype, 'root', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly