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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error While converting Presentation slides to Image

Thread ID:

Created:

Updated:

Platform:

Replies:

150204 Dec 26,2019 09:11 AM UTC Dec 30,2019 10:18 AM UTC ASP.NET Core - EJ 2 1
loading
Tags: Presentation
Akash Agarwal
Asked On December 26, 2019 09:11 AM UTC

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.



Loketha Erusappan [Syncfusion]
Replied On December 30, 2019 10:18 AM UTC

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
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon