IBehaviorCollection
Overview
IBehaviorCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: ABC.
Represents collection of behavior effects.
This class declares 8 methods for IBehaviorCollection objects in Python programs.
Available methods include: __getitem__, add, clear, contains, index_of, insert, remove, remove_at.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_enumerable, count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of behaviors in a collection. |
as_i_enumerable | Any | Read | Returns IEnumerable interface. |
Methods
| Signature | Description |
|---|---|
add(item) | Inserts the specified behavior into the collection |
index_of(item) → int | Calls index_of(item) on this IBehaviorCollection instance. |
insert(index, item) | Places a behavior at the specified index, shifting later items |
remove(item) → bool | Deletes the given behavior and returns True if it was removed |
remove_at(index) | Deletes the behavior located at the specified index |
clear() | Removes all behaviors from the collection |
contains(item) → bool | Returns True if the specified behavior exists in the collection |
__getitem__(index: int) → IBehavior | Calls getitem(index) on this IBehaviorCollection instance. |