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

Returns the Picture object at the specified position in the Pictures collection. Picture is the indexer for the Pictures class.

Signature
C#
C#
 public Picture this[int index] { get; }
Signature
vb.net
vb.net
Public Default ReadOnly Property Item(ByVal index As Integer) As Picture
Parameters
Param
index
index

A valid index between 0 and Pictures.Count.

Returns

The Picture object at the specified position.

Example
Code Block
csharp
csharp
titleC#
 
          Pictures allPics = slide1.Pictures;
          Picture firstPic = allPics[0];

Code Block
vbnet
vbnet
titlevb.net

          Dim allPics As Pictures = slide1.Pictures
          Dim firstPic As Integer = allPics(0)