Message-ID: <195281654.7675.1711617771423.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_7674_1752931721.1711617771423" ------=_Part_7674_1752931721.1711617771423 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html PowerPointApplication.Save(PowerPointWriter.Presentation, System= .Web.HttpResponse, String, Boolean)

PowerPointApplication.Save(PowerPointWriter.Presentation, System.We= b.HttpResponse, String, Boolean)

Description

=20

Streams the specified presentation to the client. It should be the only = method that uses the response object, as it automatically sets response hea= ders, clears the body of the response, and flushes it to the client.

=20
C#
=20
 public virtual void Save(Presentation presentation, System.Web.HttpRespons=
e response, System.String attachmentName, boolean openInBrowser)
=20
=20
vb.net
=20
Public Overridable Sub Save(ByVal presentation As Presentation, ByVal respo=
nse As System.Web.HttpResponse, ByVal attachmentName As StringByVal, openIn=
Browser As Boolean)
=20
=20

Parameters

=20
presentation
A=20 Presentation o= bject representing the presentation to save.=20
response
A=20 System.Http.Response obje= ct, usually=20 Page.Response.=20
attachmentName
Specifi= es a file name for the presentation. This name will be displayed in the dow= nload dialog when the file is streamed to the browser.=20
openInBrowser
If true, = the spreadsheet will be opened in place in Internet Explorer, rather than s= pawning a separate PowerPoint window.=20

Examples

=20
C#
=20

          PowerPointApplication pptApp =3D new PowerPointApplication();
          Presentation pres =3D pptApp.Create(PowerPointApplication.FileFor=
mat.Pptx);

          //--- Do something here
          pptApp.Save(pres, Page.Response, "generated.pptx", fals=
e);
        
=20
=20
vb.net
=20

          Dim pptApp As New PowerPointApplication()
          Dim pres As Presentation =3D pptApp.Create(PowerPointApplcation.F=
ileFormat.Pptx)

          '--- Do something here
          pptApp.Save(pres, Page.Response, "generated.pptx", Fals=
e )
        
=20
------=_Part_7674_1752931721.1711617771423--