Export JasperReport to DICOM
Contents
[
Hide
]
Aspose.Imaging for JasperReports provides a class named ASDicomExporter for exporting JasperReport to DICOM.
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();