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}{signature:
}
Signature
vb.net
vb.net
<DefaultMember("Item")> _
	Public NotInheritable Class Workbook
		Implements System.Collections.Generic.IEnumerable(Of Slide)
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#

          //--- Open an existing Workbook
          PowerPointApplication ppta = new PowerPointApplication();
          Presentation pres = ppta.Open(@"C:\Reports\Report.pptx");
        
{code} {code:vbnet|title=
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")
        
{code} {example} {properties} ||Name||Description|| |[DocumentProperties|Presentation.DocumentProperties]|{excerpt-include:Presentation.DocumentProperties|nopanel=true}| |[Slides|Presentation.Slides]|{excerpt-include:Presentation.Slides|nopanel=true}| {methods} ||Name||Description|| |[GetEnumerator()|Presentation.GetEnumerator()]|{excerpt-include:Presentation.GetEnumerator()|nopanel=true}|
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