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
C#csharpC#
csharp
[DefaultMember("Item")]
 public class Slide
Signature
vb.net
vb.net
<DefaultMember("Item")> _
	Public Class Slide

...

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 Block
vbnetvbvbnet
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")
        

...

Name

Description

Pictures

Excerpt Include
PPTW8:Slide.PicturesPPTW8:
Slide.Pictures
nopaneltrue

Position

Excerpt Include
PPTW8:Slide.PositionPPTW8:
Slide.Position
nopaneltrue
Properties