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
|
...
A valid index between 0 and Pictures.Count.
Returns |
---|
The Picture object at the specified position. |
Example |
---|
Code Block |
---|
| csharp | csharp |
title | C# |
---|
{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 Block |
---|
vbnet | vbnet | title | {code}
{code:vbnet|title=vb.net
}
Dim allPics As Pictures = slide1.Pictures
Dim firstPic As Integer = allPics(0)
{code}
{example}