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