index_of method
index_of
Returns the zero-based index of the first occurrence of a shape in the collection.
Returns
The zero-based index of the first occurrence of shape within the collection, if found; otherwise, -1.
def index_of(self, shape):
...
Parameter | Type | Description |
---|---|---|
shape | IShape | The shape to locate in the collection. |
See Also
- class
IShape
- class
IShapeCollection
- module
aspose.slides
- library
Aspose.Slides