PDF rendering and printing API.
The following example creates a merged report.
workflow ReportCreator;
method main() {
var mergedPdf as mergedreport;
print->addToMergedReport(mergedPdf, rd, 46);
}
function createItem() as reportdataitem
Creates a new report data item object.
function createMergedReport() as mergedreport
Creates a new merged report object.
function createReportData() as reportdata
Creates a new report data object.
method putItemDecimal(rdi as reportdataitem, paramName as string, paramValue as decimal)
Add decimal property value to report item.
method putItemDecimal(rdi as reportdataitem, paramName as string, paramValue as decimal)
Add decimal property value to report item.
method putItemString(rdi as reportdataitem, paramName as string, paramValue as string)
Add string property value to report item.
function save(rd as reportdata, templateKey as int, fileName as string) as int
Apply template and save to storage.
function update(rd as reportdata, templateKey as int, fileName as string) as int
Apply template and update to storage.