Hi,
Since Aspose cells for java version 18.2.1 I was using setImageFormat(…) of ImageOrPrintOptions which is now deprecated.
Now with version 18.5 I am trying to use setImageType(…) as suggested in your documentation.
With regards to this I have a question - In addition to setImageType() there are methods like setSaveFormat() setChartImageType(). Can you please elaborate when to use which one while converting excel chart to image or a table in excel to image?
Thanks,
Neeraj
@neergupta,
Thanks for your query.
Yes, you should use setImageType() method as the older setImageFormat() is deprecated now.
Regarding your other queries:
- You may use ImageOrPrintOptions.setSaveFormat method if you need to render to SVG, XPS, etc. formats.
- You may use ImageOrPrintOptions.setChartImageType() to specify the charts’ image format type when there are charts in the spreadsheet/worksheet. Skipping this options, Aspose.Cells will use its default image format type for the charts in the output files.