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}{signature:
}
Signature
vb.net
vb.net
Public Class PowerPointApplication
{signature}
{remarks}A generated presentation is represented by the [Presentation|Presentation] class.

To create an instance of {{PowerPointApplication}}:

In C\#:

* Import {{[PowerPointApplication}} to the C\# page: {code:csharp}
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;
{code} * Create a {{PowerPointApplication}} object: {code:csharp}
  • Create a PowerPointApplication object:
    Code Block
    csharp
    csharp
    
    PowerPointApplication ppta = new PowerPointApplication();
{code} In

In VB.NET:

* Import {{PowerPointApplication}} to the

  • Import PowerPointApplication to the VB.NET
  • page:
{
  • Code Block
:
  • vbnet
}
  • vbnet
    Imports SoftArtisans.OfficeWriter.PowerPointWriter
{code} * Create a {{PowerPointApplication}} object: \{code:vbnet}
  • Create a PowerPointApplication object:
    Code Block
    vbnet
    vbnet
    Dim ppta As New PowerPointApplication()
{code} {remarks} {example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#


          PowerPointApplication ppta = new PowerPointApplication();
          Presentation pres = ppta.Create(PowerPointWriter.FileFormat.Pptx);
          DocumentProperties docProps = pres.DocumentProperties;
        
{code} {code:vbnet|title=
Code Block
vbnet
vbnet
titlevb.net
}


          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation = ppta.Create(PowerPointWriter.FileFormat.Pptx)
          Dim docProps = pres.DocumentProperties
        
{code} {example} {methods} |[
Methods

...

Excerpt Include
PowerPointApplication.Create(PowerPointApplication.FileFormat)

...

PowerPointApplication.Create(PowerPointApplication.FileFormat)

...

nopanel

...

true

PowerPointApplication

Excerpt Include

...

PowerPointApplication

...

PowerPointApplication
nopanel

...

...

Excerpt Include
PowerPointApplication.Open(PowerPointWriter.PowerPointTemplate)

...

PowerPointApplication.Open(PowerPointWriter.PowerPointTemplate)

...

nopanel

...

...

Excerpt Include
PowerPointApplication.Open(String)

...

PowerPointApplication.Open(String)

...

nopanel

...

...

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

...

PowerPointApplication.Open(System.IO.Stream)

...

nopanel

...

...

...

Excerpt Include
PowerPointApplication.Save(PowerPointWriter.Presentation,

...

String)

...

PowerPointApplication.Save(PowerPointWriter.Presentation,

...

String)

...

nopanel

...

...

...

Excerpt Include
PowerPointApplication.Save(PowerPointWriter.Presentation,

...

System.IO.Stream)

...

PowerPointApplication.Save(PowerPointWriter.Presentation,

...

System.IO.Stream)

...

nopanel

...

...

...

...

...

Excerpt Include
PowerPointApplication.Save(PowerPointWriter.Presentation,

...

System.Web.HttpResponse,

...

Boolean, String

...

)
PowerPointApplication.Save(PowerPointWriter.Presentation,

...

System.Web.HttpResponse,

...

Boolean,

...

String)

...

nopanel

...

...

...

...

Excerpt Include
PowerPointApplication.Save(PowerPointWriter.Presentation,

...

System.Web.HttpResponse,

...

Boolean

...

)
PowerPointApplication.Save(PowerPointWriter.Presentation,

...

System.Web.HttpResponse,

...

Boolean)

...

nopanel

...

true
Classes

Name

Description

FileFormat

Excerpt Include
PowerPointApplication.FileFormat
PowerPointApplication.FileFormat
nopaneltrue