JasperReport를 PSD로 내보내기
Contents
[
Hide
]Aspose.CAD for JasperReports는 JasperReport를 PSD로 내보내기 위한 ASPsdExporter라는 클래스를 제공합니다.
다음 코드 스니펫은 JasperReport를 PSD로 내보내는 방법을 보여줍니다.
Java
ASPsdExporter psdExporter = new ASPsdExporter();
ASPsdExportConfigurationImpl psdExportConfiguration = new ASPsdExportConfigurationImpl();
psdExportConfiguration.setColorMode(ColorModesEnum.Rgb);
psdExportConfiguration.setPsdVersion(PsdVersionEnum.Psd);
psdExportConfiguration.setCompressionMethod(CompressionMethodEnum.Raw);
psdExporter.setConfiguration(psdExportConfiguration);
exporterInput = new ASExportInputImpl(jasperPrint);
psdExporter.setExporterInput(exporterInput);
exporterOutput = new ASExporterOutputImpl("shapesExample.psd");
psdExporter.setExporterOutput(exporterOutput);
psdExporter.exportReport();