While opening the presentation to convert the slides to images, I am getting the following error.
System.IndexOutOfRangeException
HResult=0x80131508
Message=Index was outside the bounds of the array.
Source=Syncfusion.Presentation.Portable
StackTrace:
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.
Thanks!.