We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Error While converting Presentation slides to Image

Hi,

While converting Presentation to Image using ConvertToImage(ExportImageFormat.Jpeg) , for one of the slides I am getting the following error.

System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Syncfusion.Presentation.Portable
  StackTrace:
   at Syncfusion.Presentation.TableImplementation.Table.UpdateHeightOfRow(Int32 rowIndex, Single height)
   at Syncfusion.Presentation.TableImplementation.Table.Layout()
   at Syncfusion.Presentation.SlideImplementation.Slide.Layout(Shape shape)
   at Syncfusion.Presentation.SlideImplementation.Slide.Layout()
   at Syncfusion.Presentation.SlideToImageConverter.SlideToImageConverter.ConvertToImage(ISlide slide, ExportImageFormat imageFormat)
   at PptToImage.Program.Main(String[] args) in C:\PptToImage\Program.cs:line 36

Note : The slide contains table with some data, When I tried removing few values from the table , then it worked fine.
Is there any limit on the size of data, allowed  on a slide that can be convert to image?

Thanks.



1 Reply

LE Loketha Erusappan Syncfusion Team December 30, 2019 05:18 AM

Hi Akash,

Thank you for contacting Syncfusion support.

We are unable to reproduce the reported issue with the given details. Could you please provide following details? It will be greatly helpful for us to reproduce and providing a prompt solution.

1. Input Presentation document
2. Syncfusion product version
3. .NET Framework version
4. Project or complete code snippet (To reproduce the issue in our end)
5. OS details
6. Visual studio version

Please let us know if you have any questions.

Regards,
Loketha E
 


Loader.
Live Chat Icon For mobile
Up arrow icon