Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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

{signature}
{example}{code:csharp|title=C#}
          //--- Open an existing Workbook
          PowerPointApplication ppta = new PowerPointApplication();
          Presentation pres = ppta.Open(@"C:\Reports\Report.pptx");
        
{code}
{code:vbnet|title=vb.net
}
          '--- Open an existing Workbook
          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation = ppta.Open("C:\Reports\Report.pptx")
        
Signature
C#C#
Wiki Markup
{description}
{excerpt}A [Presentation|Presentation] object represents a PowerPoint presentation. To return a {{Presentation}} object:  Call [PowerPointApplication.Open\(\)|PowerPointApplication.Open] to open an existing PowerPoint presentation.{excerpt}
{signature: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)
Example
Code Block
csharpcsharp
titleC#
Code Block
vbnetvbnettitle
Properties

...

Name

...

Description

...

DocumentProperties

...

{code}

{example}
{properties}
||Name||Description||
|[DocumentProperties|Presentation.DocumentProperties]|{excerpt-include:Presentation.DocumentProperties

...

Slides

|nopanel=true}|
|[Slides|Presentation.Slides]|{excerpt-include

...

:Presentation.Slides

...

Methods

...

Name

...

Description

...

GetEnumerator()

...

|nopanel=true}|

{methods}
||Name||Description||
|[GetEnumerator()|Presentation.GetEnumerator()

...

]|{excerpt-include:Presentation.GetEnumerator()

...

|nopanel

...

=true}|