Description
A Presentation object represents a PowerPoint presentation. To return a Presentation object: Call PowerPointApplication.Open() to open an existing PowerPoint presentation.
C#
[DefaultMember("Item")]
public sealed class Presentation : System.Collections.Generic.IEnumerable<Slide>
vb.net
<DefaultMember("Item")> _
Public NotInheritable Class Workbook
Implements System.Collections.Generic.IEnumerable(Of Slide)
Examples
C#
//--- Open an existing Workbook
PowerPointApplication ppta = new PowerPointApplication();
Presentation pres = ppta.Open(@"C:\Reports\Report.pptx");
vb.net
'--- Open an existing Workbook
Dim ppta As New PowerPointApplication()
Dim pres As Presentation = ppta.Open("C:\Reports\Report.pptx")
Properties
Name |
Description |
|---|---|
| Returns a DocumentProperties object that represents properties of the specified presentation, such as name, author, and summary. In Microsoft PowerPoint, these properties are displayed in the file's Properties sheet. To view the Properties sheet in PowerPoint, open PowerPoint's File menu, and select Properties. | |
| Returns a Slides collection which provides access to all slides in the specified presentation. |
Methods
Name |
Description |
|---|---|
|
Returns an IEnumerator for the Slides in a Presentation |
