JasperReport'u SVG'ye Aktarma
Contents
[
Hide
]Aspose.CAD for JasperReports, JasperReport’u SVG’ye aktarmak için ASSvgExporter adında bir sınıf sunar.
Aşağıdaki kod örneği, JasperReport’u SVG’ye aktarmanın nasıl yapıldığını gösterir.
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();