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

pptx generation

Thread ID:

Created:

Updated:

Platform:

Replies:

145991 Jul 16,2019 08:25 PM UTC Jul 17,2019 08:47 AM UTC ASP.NET Core - EJ 2 1
loading
Tags: Presentation
Nick Cole
Asked On July 16, 2019 08:25 PM UTC

I was able to generate pptx but when I open the file using Powerpoint I got the error "PowerPoint Found a Problem with Content", after I click "Repair" got another message "powerpoint couldn't read some content and removed it"
Is there any way to avoid this message?
My code:
IPresentation pptxDoc = Presentation.Create();
ISlide slide = pptxDoc.Slides.Add(SlideLayoutType.Blank);
IPresentation pptxDoc = Presentation.Create();
ISlide slide = pptxDoc.Slides.Add(SlideLayoutType.Blank);
Thanks.

Vijayasurya Anandhan [Syncfusion]
Replied On July 17, 2019 08:47 AM UTC

Hi Nick,

Thank you for contacting Syncfusion support.

We have tried to reproduce the issue, but it is working fine in our end.
Please find the sample used in our end to reproduce the issue from the below link:
https://www.syncfusion.com/downloads/support/forum/145991/ze/Presentation-481753907.zip

In this sample, we have done the following things:
 
1.   Created new instance of PowerPoint presentation. 
2.   Added new slide with blank type to the presentation. 
3.   Added a shape with text to the slide. 
4.   Saved the PowerPoint presentation. 
 
If still issue occurs in your end, we suspect that the problem might be due to code snippet used at your end. So, could you please provide us the code snippet which used at your end to reproduce the problem. Thereby we will analyze further and provide you the appropriate solution at the earliest.

Please let us know if you have any queries.


Regards,
Vijayasurya A
 


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