IndexOf
IShapeCollection.IndexOf method
Returns the zero-based index of the first occurrence of a shape in the collection.
public int IndexOf(IShape shape)
Parameter | Type | Description |
---|---|---|
shape | 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
- interface IShape
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides