BehaviorCollection

BehaviorCollection

Overview

BehaviorCollection is a class in Aspose.Slides FOSS for Python. Inherits from: BaseCollection, IBehaviorCollection.

Represents collection of behavior effects.

Properties

NameTypeAccessDescription
countintReadGets the total number of behavior items in the collection
is_read_onlyboolReadIndicates whether the collection cannot be modified
as_i_enumerableAnyReadProvides access to the collection as a generic enumerable interface

Methods

SignatureDescription
add(item)Adds the specified behavior item to the collection
index_of(item)intReturns 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)boolDeletes 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)boolReturns True if the collection includes the specified behavior item