Exportar JasperReport a WMF
Contents
[
Hide
]Aspose.CAD para JasperReports proporciona una clase llamada ASWmfExporter para exportar JasperReport a WMF.
El siguiente fragmento de código demuestra cómo exportar el JasperReport a WMF.
Java
// Ejemplo 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();