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