Hi.
I’m using SheetRender to retrieve the number of pages on a specific worksheet.
When calling new SheetRender(sheet, imageOrPrintOptions) for the sheet in the attached xlsx document an error is thrown.
Please help me solve this issue.
Thanks,
Dejan
Hi,
Hi,
Sorry, I accidentally cleaned the file too much. This is the right file. The large amount of data from column LI (row 62) till the last column is the reason for the error.
Hi,
Hi
I know it takes some time to generate the images. I didn’t interrupted the process and on page 9110 I got this exception (also with your latest version/fix):
System.ArgumentException occurred
HResult=-2147024809
Message=Invalid column index.
Source=Aspose.Cells
StackTrace:
at . . (Int32 )
at Aspose.Cells.Cells.GetColumnWidthPixel(Int32 column)
at . . (Cells , Int32 , Int32 , Boolean )
at . . ()
at . . (Worksheet )
at . . (Worksheet )
at . . (Int32 )
at . . (Worksheet , ImageOrPrintOptions )
at . . (Worksheet , ImageOrPrintOptions )
at Aspose.Cells.Rendering.SheetRender…ctor(Worksheet worksheet, ImageOrPrintOptions options)
I solved my issue by removing the unnecessary data which was accidentally inserted in the file. So now, this is only an corner case example for you if you want to fix it in one of the next releases.
Thanks for you help
Hi,
The issues you have found earlier (filed as CELLSNET-42002) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
@Amjad_Sahi : hi i am still facing the above issue when i am initializing SheetRender in version 19.7
Please provide your sample code (runnable) with template file (if any) to reproduce the issue. we will check it soon.