We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Index out of bounds


I am trying to load a power point presentation from a stream and an IndexOutOfBoundsException is thrown. Below is a sample of the code I am using:

using (var stream = new MemoryStream())
var presentation = new Presentation(stream);

I have also attached the presentation…any thoughts?



Hi Chris,

I have observe the issue shared and like to share that you need to set the stream position to 0 before loading that stream using Aspose.Slides. Please add the following link before adding stream to Presentation class constructor.


Many Thanks,