PictureCollection.Item
PictureCollection indexer
Gets the Picture
element at the specified index.
public Picture this[int index] { get; }
Parameter | Description |
---|---|
index | The zero based index of the element. |
Return Value
The element at the specified index.
Examples
[C#]
//get picture collection
//PictureCollection pictures = workbook.Worksheets[0].Pictures;
//add a picture
int index = pictures.Add(1, 1, "image.png");
//get the picture
Picture pic = pictures[index];
See Also
- class Picture
- class PictureCollection
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells