API changes in latest Aspose.cells

Hi,
We are using latest Aspose.cells package (aspose 23.7).
I see some methods are not supported. I have also added alternatives for whichever I could.

  1. imageOrPrintOptions.setImageFormat(ImageFormat.getPng());
    Planning to replace it with
    imageOrPrintOptions.setImageType(ImageType.PNG);
  2. SheetRender sheetRender = new SheetRender(worksheet, options);
    sheetRender.getPageSize(i)[0];
    Replace with:
    SheetRender sheetRender = new SheetRender(worksheet, options);
    sheetRender.getPageSizeInch(i)[0];
  3. CellsHelper.setFontDirs(fontDirs);
    I did not get a replacement for setFontDirs on CellsHelper.

Can you please confirm if the replacements are right and what is the alternative for setFontDirs ?

Thanks
Sushma Raghupathi

@sushmaIBM,

Your mentioned replacements for 1) and 2) are Ok.

3). Please use FontConfigs.setFontsFolders() instead, see the document on configuring fonts for your reference.