Message-ID: <1106895939.8229.1711638567521.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8228_849501885.1711638567521" ------=_Part_8228_849501885.1711638567521 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Streams the PowerPointTemplate to the client.
=20=09public void Save(System.Web.HttpResponse res= ponse)=20
Public Sub Save(ByRef response As System.Web.Htt= pResponse)=20
Save
will throw this exception if it does not have a PowerPoin=
t document handle (
Save
cannot be called before=20
Open
).=20
If the user chooses to open rather than save the file, it will open in t= he browser window. PowerPointWriter will set a default name for the file. T= o set a different file name and/or open the file in Microsoft PowerPoint, u= se the signature Save(HttpResponse,String,Bool)
=20You can call Save
more than once for a single instance of <=
a href=3D"/display/PPTW9/PowerPointTemplate" rel=3D"nofollow">PowerPointTem=
plate. 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.
using (PowerPointTemplate ppt =3D new PowerPointTemplate()) { ppt.Open("MyInputFilePath.pptx"); // where response is the HttpResponse for the current page ppt.Save(response); }=09=20