Экспорт 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();