Exportar JasperReport para WMF
Contents
[
Hide
]Aspose.CAD para JasperReports fornece uma classe chamada ASWmfExporter para exportar JasperReport para WMF.
O seguinte trecho de código demonstra como exportar o JasperReport para WMF.
Java
// Exemplo 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();