hi, when I tried to create thumbnail of a table with custom style, I got a NullRefException.
Please use the code here and the example file to reproduce the problem. Thank u!
using (Presentation presentation = new Presentation(filePath))
{
IShape shape = presentation.Slides[0].Shapes[0];
using (Bitmap image = shape.GetThumbnail()) //Exception here
......
}
Table Thumbnail.zip (17.8 KB)
@JeffChiang,
Thank you for reporting the issue.
I’ve reproduced the same exception with the shape (table) at index 1 and added a ticket with ID SLIDESNET-43299 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate the case. You will be notified when the issue is resolved.
It would be great if you could share the following additional information:
- OS version where the code was executed
- .NET target platform in your app
We will then also test the issue in an environment similar to yours.
hi Andrey,
thank you for the response! In my test I usdd Windows10 and .NET Framework 4.6.2.
@JeffChiang,
Thank you for the additional information. I’ve passed it on to our development team.
The issues you have found earlier (filed as SLIDESNET-43299) have been fixed in Aspose.Slides for .NET 22.8 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.