DocumentHtml: String
The DocumentHtml property sets HTML content of a text sheet.
Use JSON or the setDocumentHtml method to set the property value, and the getDocumentHtml method to get the property value.
To execute this example, the page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). The open regular report must include a text sheet. Set text sheet content:
dv = reportBox.getDataView(); //get report data area
doc = dv.getActiveSheetView(); //get active sheet (text sheet)
doc.setDocumentHTML("<p><b>Text sheet</b></p>");
After executing the example the following content is set for text sheet: Text sheet.
See also: