I have the following error when I try to create a sheet render of my worksheet (Excel document is in attachment) : java.lang.IllegalArgumentException: Invalid column index.
Used version : aspose-cells-16.11.0
Bellow my java code:
//New workbook with document
Workbook workbook = new Workbook(“C:\Temp\InvalidColumn.xlsx”);
//For each sheet
for (int i = 0; i<workbook.getWorksheets().getCount(); i++) {
//Get sheet
Worksheet worksheet = workbook.getWorksheets().get(i);
//Sheet render
ImageOrPrintOptions printOpts = new ImageOrPrintOptions();
**SheetRender sr = new SheetRender(worksheet, printOpts);**
}
We were able to observe this issue as per your description and logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
CELLSJAVA-42097 - SheetRender - Invalid column index
This is to inform you that we have fixed your issue CELLSJAVA-42097 now. We will soon provide the fix after performing QA and including other enhancements and fixes.
Good to know that your issue is sorted out by the new version/fix. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.