[]
        
(Showing Draft Content)

exportReport

Function: exportReport()

function exportReport(exportOptions, isCancelRequested?): Promise<void>;

Do export of the report without showing a viewer.

Parameters

exportOptions

ExportOptions

isCancelRequested?

() => boolean

The function is periodically called with a check to cancel the export task.

Returns

Promise<void>

Example

// ESM usage
import {exportReport} from './jsViewer.min.js';
exportReport({
  reportID:'Invoice.rdlx',
  exportType: 'Pdf',
  saveAsDialog: true,
  settings : {
   EmbedFonts:'All',
   Title:'MyInvoice'
 }});