صادرات JasperReport به SVG
Contents
[
Hide
]Aspose.CAD برای JasperReports کلاسی به نام ASSvgExporter برای صادرات JasperReport به SVG ارائه میدهد.
کد زیر نشان میدهد که چگونه JasperReport را به SVG صادر کنیم.
Java
ASSvgExporter svgExporter = new ASSvgExporter();
ASSvgExportConfigurationImpl svgExportConfiguration = new ASSvgExportConfigurationImpl();
svgExportConfiguration.setEmbedFonts(true);
svgExportConfiguration.setCompress(true);
svgExporter.setConfiguration(svgExportConfiguration);
exporterInput = new ASExportInputImpl(jasperPrint);
svgExporter.setExporterInput(exporterInput);
exporterOutput = new ASExporterOutputImpl("shapesExample.svg");
svgExporter.setExporterOutput(exporterOutput);
svgExporter.exportReport();