Page tree
Skip to end of metadata
Go to start of metadata

Description

Streams the PowerPointTemplate to the client.

C#
vb.net

Parameters

response
An HttpResponse to write the resulting PowerPoint file to.

Exceptions

InvalidOperationException
Save will throw this exception if it does not have a PowerPoint document handle (Save cannot be called before Open).

Remarks

If the user chooses to open rather than save the file, it will open in the browser window. PowerPointWriter will set a default name for the file. To set a different file name and/or open the file in Microsoft PowerPoint, use the signature Save(HttpResponse,String,Bool)

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.

Examples

C#
  • No labels