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 Opening Presentation

While opening the presentation to convert the slides to images, I am getting the following error.

  Message=Index was outside the bounds of the array.
   at Syncfusion.Presentation.Drawing.Picture.AddImageStream(String embedattrib)
   at Syncfusion.Presentation.Drawing.DrawingParser.ParsePictureAttribute(XmlReader reader, Picture picture)
   at Syncfusion.Presentation.Drawing.DrawingParser.ParseImageToStream(XmlReader reader, Picture picture)
   at Syncfusion.Presentation.Drawing.DrawingParser.ParseBlip(XmlReader reader, Picture picture)
   at Syncfusion.Presentation.Drawing.DrawingParser.ParseBlipFill(XmlReader reader, Picture picture)
   at Syncfusion.Presentation.Drawing.DrawingParser.ParsePicture(XmlReader reader, Picture picture)
   at Syncfusion.Presentation.Parser.ParseShapeTree(XmlReader reader, Shapes shapeCollection)
   at Syncfusion.Presentation.Parser.ParseCommonSilde(XmlReader reader, BaseSlide slide)
   at Syncfusion.Presentation.Parser.ParseLayoutSlide(XmlReader reader, LayoutSlide layoutSlide)
   at Syncfusion.Presentation.FileDataHolder.ParseLayoutSlide(LayoutSlide layoutSlide, String layoutPath)
   at Syncfusion.Presentation.FileDataHolder.ParseLayoutSlides(MasterSlide masterSlide)
   at Syncfusion.Presentation.FileDataHolder.ParseMasterSlides()
   at Syncfusion.Presentation.FileDataHolder.ParseMaster()
   at Syncfusion.Presentation.FileDataHolder.Read()
   at Syncfusion.Presentation.FileDataHolder.ParseDocument()
   at Syncfusion.Presentation.Presentation.ParseDocument(Stream fileStream)
   at Syncfusion.Presentation.Presentation.OpenAsStream(Stream stream, String password, String extension)
   at Syncfusion.Presentation.Presentation.Open(Stream fileStream)
   at PptToImage.Program.Main(String[] args) in C:\PptToImage\Program.cs:line 31

Note : The slide contains, the company template and Name of the company.
Please provide some information regarding the above mentioned issue.


1 Reply

LE Loketha Erusappan Syncfusion Team December 30, 2019 10:19 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.

Loketha E

Live Chat Icon For mobile
Up arrow icon