ייצוא JasperReport ל-WMF
Contents
[
Hide
]Aspose.CAD for 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();