Public Sub Save(ByRef stream As System.IO.Stream)
{signature}
{parameters}
{param:stream}A stream to write the resulting PowerPoint file to.{param}
{exceptions}
{exception:InvalidOperationException}{{Save}} will throw this exception if it does not have a PowerPoint document handle ({{Save}} cannot be called before {{Open}}).
{exception}
{remarks}You can call {{Save}} more than once for a single instance of [PowerPointTemplate]. This allows you to save more than one copy of a generated file, and/or both save the file on the server and stream it to the client.{remarks}
{example}
{code:csharp|title=C#} |