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

A Presentation object represents a PowerPoint presentation. To return a Presentation object: Call PowerPointApplication.Open() to open an existing PowerPoint presentation.

Signature
C#
C#
[DefaultMember("Item")]
 public sealed class Presentation : System.Collections.Generic.IEnumerable<Slide>
Signature
vb.net
vb.net
<DefaultMember("Item")> _
	Public NotInheritable Class Workbook
		Implements System.Collections.Generic.IEnumerable(Of Slide)
Example
Code Block
csharp
csharp
titleC#
          //--- Open an existing Workbook
          PowerPointApplication ppta = new PowerPointApplication();
          Presentation pres = ppta.Open(@"C:\Reports\Report.pptx");
        
Code Block
vbnet
vbnet
titlevb.net
          '--- Open an existing Workbook
          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation = ppta.Open("C:\Reports\Report.pptx")
        
Properties

Name

Description

DocumentProperties

Excerpt Include
Presentation.DocumentProperties
Presentation.DocumentProperties
nopaneltrue

Slides

Excerpt Include
Presentation.Slides
Presentation.Slides
nopaneltrue
Methods

Name

Description

GetEnumerator()

Excerpt Include
Presentation.GetEnumerator()
Presentation.GetEnumerator()
nopaneltrue