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
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:vb.net}
<DefaultMember("Item")> _
	Public NotInheritable Class Workbook
		Implements System.Collections.Generic.IEnumerable(Of Slide)
{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")
        {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}|