• Do export of the report without showing a viewer.

    Parameters

    • exportOptions: ExportOptions
    • Optional isCancelRequested: (() => boolean)

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

        • (): boolean
        • Returns boolean

    Returns Promise<void>

    Example: Usage example:

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