We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Converting scroll shape to image/pdf when scroll shaft diameter=0 returns "Shape to image Error!"

Converting an xlsx file to image(jpeg) or pdf returns a “Shape to image Error”.

Attached is the file to reproduce this issue.
This file has “scroll shape” inserted on a worksheet.

This issue can be ssen when you change the diameter of the scroll shaft to zero.
So I wonder if there’s some “division by zero” exception not handled properly.

We see it with Aspose.Cells.dll (.NET Ver.21.1.0.0)

Will you investigate this ?
Scroll_NG_en.zip (19.0 KB)

@okd.teppi,
We have observed this issue here and logged it in our database for further investigation. You will be notified here once any update is ready for sharing.

This issue is logged as:

CELLSNET-48607 - Shape to image Error

Thanks !
Looking forward to hearing from you.

@okd.teppi,

Sure, once we figure it out or we have some other updates, we will let you know.

@okd.teppi
Hi,
I am glad to inform you that the issue with the ID CELLSNET-48607 has been resolved. The fix will be included in Aspose.Cells for .Net 21.9.
Please notice the team has prepared a hotfix, so you do not have to wait for the official release. Kindly test the project with the hotfix attached to this post and let us know about the results.
Best regards,
Aspose.Cells21.8.1 For .Net2_AuthenticodeSigned.Zip (5.6 MB)
Aspose.Cells21.8.1 For .Net4.0.Zip (5.6 MB)
Aspose.Cells21.8.1 For .NetStandard20.Zip (5.6 MB)

The issues you have found earlier (filed as CELLSNET-48607) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao