PictureCollection indexer

PictureCollection indexer

Gets the Picture element at the specified index.

Indexer

NameDescription
indexThe zero based index of the element.

Returns

The element at the specified index.

Example


# get picture collection
# PictureCollection pictures = workbook.Worksheets[0].Pictures;
# add a picture
index = pictures.add(1, 1, "image.png")
# get the picture
pic = pictures[index]

See Also