SaveToStream in Aspose.Slides (C# .NET)

I’ve tried your sample code to save the presentation to a stream from here:

I’m using this in an ASP.NET Core web app. What i found is, without adding toStream.Position = 0; it wouldn’t download. This took me a lot of time figuring out, so I think you could add this to your docs.


Yes, you are right that you have to set the stream position to 0 to use it properly. We will consider your advise for improving docs.