Exporter JasperReport vers WMF
Contents
[
Hide
]Aspose.CAD pour JasperReports fournit une classe nommée ASWmfExporter pour exporter JasperReport vers WMF.
Le code suivant démontre comment exporter le JasperReport vers WMF.
Java
// Exemple 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();