صادرات 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();