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