Xuất JasperReport ra WMF
Contents
[
Hide
]Aspose.CAD cho JasperReports cung cấp một lớp có tên là ASWmfExporter để xuất JasperReport ra WMF.
Mã mẫu sau đây minh họa cách xuất JasperReport ra WMF.
Java
// Ví dụ 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();