Esportare JasperReport in WMF
Contents
[
Hide
]Aspose.CAD per JasperReports fornisce una classe chiamata ASWmfExporter per esportare JasperReport in WMF.
Il seguente frammento di codice dimostra come esportare il JasperReport in WMF.
Java
// Esempio 1
ASWmfExporter wmfExporter = new ASWmfExporter();
ASWmfExportConfigurationImpl wmfExportConfiguration = new ASWmfExportConfigurationImpl();
wmfExporter.setConfiguration(wmfExportConfiguration);
exporterInput = new ASExportInputImpl(jasperPrint);
wmfExporter.setExporterInput(exporterInput);
exporterOutput = new ASExporterOutputImpl("shapesExample.wmf");
wmfExporter.setExporterOutput(exporterOutput);
wmfExporter.exportReport();