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

The Slide class represents a single PowerPoint Slide.

Description
Signature
csharp
csharp
[DefaultMember("Item")]
 public class Slide
{signature}{signature:vb}
Signature
vb
vb
<DefaultMember("Item")> _
	Public Class Slide
{signature}

{remarks}
To get an existing Slide call [
Remarks

To get an existing Slide call Presentation.Slides

\

[index

\

]

|Slides.Item(Int)]. {remarks} {example} {code:csharp|title=C#}

.

Example
Code Block
csharp
csharp
titleC#


          //--- Create a new Worksheet
          PowerPointApplication ppta = new PowerPointApplication();
          Presentation pres = ppta.Create(PowerPointWriter.FileFormat.Pptx);
          Slide slide1 = pres.Slides[0];

          //--- Get an existing Worksheet by index
          PowerPointApplication ppta = new PowerPointApplication();
          Presentation pres = ppta.Create();
          Slide slide1 = pres.Slides[0];

          //--- Get an existing Worksheet by name
          PowerPointApplication ppta = new PowerPointApplication();
          Presentation pres = ppta.Create();
          Slide slide1 = pres.Slides["Slide1"];
{code} {code:vb|title=
Code Block
vb
vb
titlevb.net
}

          '--- Create a new Worksheet
          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation = ppta.Create(PowerPointWriter.FileFormat.Pptx)
          Dim slide1 As Slide = pres.Slides(0)

          '--- Get an existing Worksheet by index
          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation = ppta.Create()
          Dim slide1 As Slide = pres.Slides(0)

          '--- Get an existing Worksheet by name
          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation = ppta.Create()
          Dim slide1 As Slide = pres.Slides("Slide2")
        
{code} {example} {properties} || Name || Description || | [Pictures|Slide.Pictures] | {excerpt-include:Slide.Pictures|nopanel=true} | | [Position|Slide.Position] | {excerpt-include:Slide.Position|nopanel=true} | {properties}
Properties

Name

Description

Pictures

Excerpt Include
Slide.Pictures
Slide.Pictures
nopaneltrue

Position

Excerpt Include
Slide.Position
Slide.Position
nopaneltrue
Properties