Hi,
I tried to call exportDiagram in diagram with the below option but unable to download.
const options: IExportOptions = { fileName: 'diagram', format: 'PNG',
mode: 'Download', type: 'image', region: 'PageSettings' };
const diagram = document.getElementById('diagramPanel');
diagram.ej2_instances[NUMBER0].exportDiagram(options);
When i tried to debug, was able to see that this.printandExportModule condition in diagram.js was undefined.
Could you please suggest if any other data has to be set apart from the above code?
Regards,
Sudhanshu