Експорт на JasperReport в WMF
Contents
[
Hide
]Aspose.CAD за JasperReports предоставя клас с име ASWmfExporter за експортиране на JasperReport в WMF.
Следният кодов фрагмент демонстрира как да се експортира JasperReport в WMF.
Java
// Пример 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();