index_of method
index_of
Determines the index of a specific portion in collection.
Returns
The index of item
if found in the collection; otherwise, -1.
def index_of(self, item):
...
Parameter | Type | Description |
---|---|---|
item | IPortion | The portion to locate in the collection. |
See Also
- class
IPortion
- class
IPortionCollection
- module
aspose.slides
- library
Aspose.Slides