Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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#
Wiki Markup
{description}
{excerpt}Returns the [Picture|Picture] object at the specified position in the [Pictures|Pictures] collection. {{Picture}} is the indexer for the {{Pictures}} class.{excerpt}
{signature:C#}
 public Picture this[int index] { get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Default ReadOnly Property Item(ByVal index As Integer) As Picture
Parameters

...

A valid index between 0 and Pictures.Count.

Returns

The Picture object at the specified position.

{signature}
{parameters}
{param:index}A valid index between 0 and [Pictures.Count|Pictures.Count].{param}
{returns}The {{Picture}} object at the specified position.{returns}
{example}
{code:csharp|title=C#}
 
          Pictures allPics = slide1.Pictures;
          Picture firstPic = allPics[0];

{code}
{code:vbnet|title=vb.net
}

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

        {code}
{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vbnetvbnettitle