Skip to end of metadata
Go to start of metadata

Description

Saves a specified Presentation as a  OOXML format.pptx.

C#
 public virtual void Save(Presentation presentation, System.String fileName)
vb.net
Public Overridable Sub Save(ByVal presentation As Presentation, ByVal fileName As String)

Parameters

presentation
A Presentation object representing the presentation to save.
fileName
Specifies a complete path and file name for the Presentation. PowerPointWriter will save the file to this location. If a file with the same name exists, it will be overwritten by the new PowerPoint file.

Examples

C#
PowerPointApplication pptApp = new PowerPointApplication();
Presentation pres = pptApp.Create(PwoerPointApplication.FileFormat.Pptx);
pptApp.Save(pres,@"C:\Sales2003\June.pptx");
vb.net
Dim pptApp As New PowerPointApplication()
Dim pres As Presentation = pptApp.Create(PowerPointApplication.FileFormat.Pptx)
pptApp.Save(pres, "C:\Sales2003\June.pptx")
  • No labels