Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Saves a specified Presentation as a  OOXML format.pptx.

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

A Presentation object representing the presentation to save.

Param
fileName
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.

Example
Code Block
csharp
csharp
titleC#
PowerPointApplication pptApp = new PowerPointApplication();
Presentation pres = pptApp.Create(PwoerPointApplication.FileFormat.Pptx);
pptApp.Save(pres,@"C:\Sales2003\June.pptx");
Code Block
vbnet
vbnet
titlevb.net
Dim pptApp As New PowerPointApplication()
Dim pres As Presentation = pptApp.Create(PowerPointApplication.FileFormat.Pptx)
pptApp.Save(pres, "C:\Sales2003\June.pptx")