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
Wiki Markup
{description}
{excerpt}Saves a specified [Presentation|Presentation] as a  OOXML format.pptx.{excerpt}
{signature:C#}
 public virtual void Save(Presentation presentation, System.String fileName)
{signature}{signature:vb.net}
Public Overridable Sub Save(ByVal presentation As Presentation, ByVal fileName As String)
{signature}
{parameters}
{param:presentation}A {{Presentation}} object representing the presentation to save.{param}
{param: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.{param}

{example}{code:csharp|title=C#}
PowerPointApplication pptApp = new PowerPointApplication();
Presentation pres = pptApp.Create(PwoerPointApplication.FileFormat.Pptx);
pptApp.Save(pres,@"C:\Sales2003\June.pptx");
{code}
{code:vbnet|title=vb.net}
Dim pptApp As New PowerPointApplication()
Dim pres As Presentation = pptApp.Create(PowerPointApplication.FileFormat.Pptx)
pptApp.Save(pres, "C:\Sales2003\June.pptx")
{code}

{example}