JasperReport'u WMF'ye Dışa Aktarma

Contents
[ ]

Aşağıdaki kod parçası, JasperReport’u WMF’ye dışa aktarmanın nasıl yapılacağını gösterir.

Java

// Örnek 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();