Document: Object
The Document property contains HTML document of an express report.
Use JSON or the setDocument method to set the property value, and the getDocument method to get the property value.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then get contents of express report HTML document:
var eaxAnalyzer = expressBox.getSource(); var document = eaxAnalyzer.getDocument(); if(document != null) { // Show contents of HTML document console.log(document); } else { console.log("HTML document contents is not obtained."); }
After executing the example the browser console displays contents of express report HTML document:
See also: