Aspose::Cells::Drawing::PictureCollection::Get method
PictureCollection::Get method
Gets the Picture element at the specified index.
Aspose::Cells::Drawing::Picture Aspose::Cells::Drawing::PictureCollection::Get(int32_t index)
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero based index of the element. |
ReturnValue
The element at the specified index.
Examples
//get picture collection
//PictureCollection pictures = workbook.GetWorksheets().Get(0).GetPictures();
//add a picture
int picIndex = pictures.Add(1, 1, u"image.png");
//get the picture
Picture pic = pictures.Get(picIndex);
See Also
- Class Picture
- Class Vector
- Class PictureCollection
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++