BehaviorCollection
Vue de l’ensemble
‘BehaviorCollection’ est une classe dans Aspose.Slides FOSS pour Python.Déduit de: ‘BaseColection’, ‘IBehavio Collection’.
Il représente une collection d’effets comportementaux.
Cette classe fournit 10 méthodes pour travailler avec les objets de comportementCollection dans des programmes Python. Les méthodologies disponibles comprennent: add, as_i_enumerable , ‘clear;contains; copy_to : 'count . index_of. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation du package PyThone Aspose.Slides FOSS. Propriétés : a_is_inumerables ، contesetis-read_only`
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
is_read_only | bool | Read | Gets the is read only. |
as_i_enumerable | Any | Read | Gets the as i enumerable. |
length | int | Read | Returns the number of elements. |
méthodes
| Signature | Description |
|---|---|
add(item) | Adds the specified behavior item to the collection |
index_of(item) → int | Returns the zero‑based index of the given behavior item |
insert(index, item) | Inserts a behavior item at the specified index in the collection |
copy_to(array, array_index) | Copies the collection elements into the provided array starting at array_index |
remove(item) → bool | Deletes the specified behavior item and returns True if successful |
remove_at(index) | Removes the behavior item at the given index |
clear() | Removes all behavior items from the collection |
contains(item) → bool | Returns a boolean indicating whether the specified behavior is present in the collection |
count() → int | Returns the number of behaviors in a collection. |
as_i_enumerable() → Any | Returns IEnumerable interface. |
Voir aussi
- Aspose.Slides - référence API d’entreprise