Message-ID: <1719207814.9831.1711704409536.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9830_913935994.1711704409536" ------=_Part_9830_913935994.1711704409536 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Slide

Slide

Description

The=20 Slide class represents a single PowerPoint Slide.

Description

=20
C#
=20
[DefaultMember("Item")]
 public class Slide
=20
=20
vb.net
=20
<DefaultMember("Item")> _
=09Public Class Slide
=20
=20

Remarks

To get an existing Slide call=20 Presen= tation.Slides[index].=20

Examples

=20
C#
=20
          //--- Create a new Worksheet
          PowerPointApplication ppta =3D new PowerPointApplication();
          Presentation pres =3D ppta.Create(PowerPointWriter.FileFormat.Ppt=
x);
          Slide slide1 =3D pres.Slides[0];

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

          //--- Get an existing Worksheet by name
          PowerPointApplication ppta =3D new PowerPointApplication();
          Presentation pres =3D ppta.Create();
          Slide slide1 =3D pres.Slides["Slide1"];
=20
vb.net
=20
          '--- Create a new Worksheet
          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation =3D ppta.Create(PowerPointWriter.FileFor=
mat.Pptx)
          Dim slide1 As Slide =3D pres.Slides(0)

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

          '--- Get an existing Worksheet by name
          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation =3D ppta.Create()
          Dim slide1 As Slide =3D pres.Slides("Slide2")
        
=20

Properties

Name

Description

Pic= tures

Returns a Pi= ctures collection containing all pictures in the slide. Use this collec= tion to add, access, and remove pictures from the slide.

Pos= ition

Returns the 0-based index of the slide in the co= llection of all slides in the presentation.

 

 

------=_Part_9830_913935994.1711704409536--