PowerPointApplication is the main class for pure code-based presentation generation (for information about template-based presentation generation, see PowerPointTemplate). A single instance of PowerPointApplication can generate multiple workbooks.

 public class PowerPointApplication
Public Class PowerPointApplication

A generated presentation is represented by the Presentation class.

To create an instance of PowerPointApplication:

In C#:

  • Import [PowerPointApplication to the C# page:
    using SoftArtisans.OfficeWriter.PowerPointWriter;
  • Create a PowerPointApplication object:
    PowerPointApplication ppta = new PowerPointApplication();

In VB.NET:

  • Import PowerPointApplication to the VB.NET page:
    Imports SoftArtisans.OfficeWriter.PowerPointWriter
  • Create a PowerPointApplication object:
    Dim ppta As New PowerPointApplication()

          PowerPointApplication ppta = new PowerPointApplication();
          Presentation pres = ppta.Create(PowerPointWriter.FileFormat.Pptx);
          DocumentProperties docProps = pres.DocumentProperties;
        

          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation = ppta.Create(PowerPointWriter.FileFormat.Pptx)
          Dim docProps = pres.DocumentProperties
        

Create(FileFormat)

PowerPointApplication

Open(PowerPointTemplate)

Open(String)

Open(System.IO.Stream)

Save(Presentation, String)

Save(Presentation, System.IO.Stream)

Save(Presentation, System.Web.HttpResponse, Boolean, String)

Save(Presentation, System.Web.HttpResponse, Boolean)

Name

Description

FileFormat