Export JasperReport to DICOM

Contents
[ ]

The following code snippet demonstrates how to export the JasperReport to DICOM.

Java

ASDicomExporter dicomExporter = new ASDicomExporter();
ASDicomExportConfigurationImpl dicomExportConfiguration = new ASDicomExportConfigurationImpl();
dicomExporter.setConfiguration(dicomExportConfiguration);

exporterInput = new ASExportInputImpl(jasperPrint);
dicomExporter.setExporterInput(exporterInput);

exporterOutput = new ASExporterOutputImpl("shapesExample.dcm");
dicomExporter.setExporterOutput(exporterOutput);

dicomExporter.exportReport();