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

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.

Signature
C#
C#
 public class PowerPointApplication
Signature
vb.net
vb.net
Public Class PowerPointApplication
Remarks

A generated presentation is represented by the Presentation class.

To create an instance of PowerPointApplication:

In C#:

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

In VB.NET:

  • Import PowerPointApplication to the VB.NET page:
    Code Block
    vbnet
    vbnet
    Imports SoftArtisans.OfficeWriter.PowerPointWriter
  • Create a PowerPointApplication object:
    Code Block
    vbnet
    vbnet
    Dim ppta As New PowerPointApplication()
Example
Code Block
csharp
csharp
titleC#

          PowerPointApplication ppta = new PowerPointApplication();
          Presentation pres = ppta.Create(PowerPointWriter.FileFormat.Pptx);
          DocumentProperties docProps = pres.DocumentProperties;
        
Code Block
vbnet
vbnet
titlevb.net

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

Create(FileFormat)

Excerpt Include
PowerPointApplication.Create(PowerPointApplication.FileFormat)
PowerPointApplication.Create(PowerPointApplication.FileFormat)
nopaneltrue

PowerPointApplication

Excerpt Include
PowerPointApplication
PowerPointApplication
nopaneltrue

Open(PowerPointTemplate)

Excerpt Include
PowerPointApplication.Open(PowerPointWriter.PowerPointTemplate)
PowerPointApplication.Open(PowerPointWriter.PowerPointTemplate)
nopaneltrue

Open(String)

Excerpt Include
PowerPointApplication.Open(String)
PowerPointApplication.Open(String)
nopaneltrue

Open(System.IO.Stream)

Excerpt Include
PowerPointApplication.Open(System.IO.Stream)
PowerPointApplication.Open(System.IO.Stream)
nopaneltrue

Save(Presentation, String)

Excerpt Include
PowerPointApplication.Save(PowerPointWriter.Presentation, String)
PowerPointApplication.Save(PowerPointWriter.Presentation, String)
nopaneltrue

Save(Presentation, System.IO.Stream)

Excerpt Include
PowerPointApplication.Save(PowerPointWriter.Presentation, System.IO.Stream)
PowerPointApplication.Save(PowerPointWriter.Presentation, System.IO.Stream)
nopaneltrue

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

Excerpt Include
PowerPointApplication.Save(PowerPointWriter.Presentation, System.Web.HttpResponse, Boolean, String)
PowerPointApplication.Save(PowerPointWriter.Presentation, System.Web.HttpResponse, Boolean, String)
nopaneltrue

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

Excerpt Include
PowerPointApplication.Save(PowerPointWriter.Presentation, System.Web.HttpResponse, Boolean)
PowerPointApplication.Save(PowerPointWriter.Presentation, System.Web.HttpResponse, Boolean)
nopaneltrue
Classes

Name

Description

FileFormat

Excerpt Include
PowerPointApplication.FileFormat
PowerPointApplication.FileFormat
nopaneltrue