We are using Aspose Framework (Aspose.cells dll version 8.5.1).
While trying to convert excel file to tiff image, below error is being thrown-
exception message - Index was outside the bounds of the array.
StackTrace - at Aspose.Cells.Workbook.Save(String fileName, SaveOptions saveOptions)
at OfficeDocToTIFF.Program.ExcelToTiff(String Sourcefile, String destinationpath) in C:\xyz\Program.cs:line 220
Exception is being thrown at this line of code-
workbook.Save(destinationpath + filename + “.tiff”, imageSaveOptions);
for imageSaveOptions below initialization is done.
var imageSaveOptions = new Aspose.Cells.ImageSaveOptions(Aspose.Cells.SaveFormat.TIFF);
Could you please help to fix with this issue.