IndexOf()
IShapeCollection::IndexOf(System::SharedPtr<IShape>) method
Returns the zero-based index of the first occurrence of a shape in the collection.
virtual int32_t Aspose::Slides::IShapeCollection::IndexOf(System::SharedPtr<IShape> shape)=0
Arguments
Parameter | Type | Description |
---|---|---|
shape | System::SharedPtr<IShape> | The shape to locate in the collection. |
Return Value
The zero-based index of the first occurrence of shape within the collection, if found; otherwise, -1.
See Also
- Typedef SharedPtr
- Class IShape
- Class IShapeCollection
- Namespace Aspose::Slides
- Library Aspose.Slides