<![endif]–>
Hi Aspose team.
I’m encountered a problem trying to open my presentation file using Aspose.Slides v5.2.0.0 library.
You can find PowerPoint file in the attachment. It was made in PowerPoint 2010 but saved as 2003 format. PowerPoint itself found no issues in the file.
When I’m executing the code below it falls into exception “Index was outside the bounds of the array.”
///
/// PowerPoint data processor for Aspose library
/// Perform reading/writing operations with Excel.
///
/// Array of bytes with PowerPoint file body
public PowerPointAsposeProcessor(byte[] fileData)
{
try
{
Stream stream = new MemoryStream();
stream.Write(fileData, 0, fileData.Length);
var loadOptions = new LoadOptions(LoadFormat.Ppt);
_presentation = new Presentation(stream, loadOptions);
stream.Dispose();
}
catch (Exception err)
{
LOG.Error(err);
}
}
Could you please investigate the reason of this issue and provide an update (if necessary)?
Thank you