JasperReportをWMFにエクスポート
Contents
[
Hide
]Aspose.CAD for JasperReportsは、JasperReportをWMFにエクスポートするためのASWmfExporterというクラスを提供します。
次のコードスニペットは、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();