SequenceCollection
Overview
SequenceCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: BaseCollection, ISequenceCollection.
Represents collection of interactive sequences.
This class declares 8 methods for SequenceCollection objects in Python programs.
Available methods include: __contains__, __getitem__, __iter__, __len__, add, clear, 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, length.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
as_i_enumerable | Any | Read | Gets the as i enumerable. |
length | int | Read | Returns the number of elements. |
Methods
| Signature | Description |
|---|---|
add(shape_trigger) → ISequence | Create a new interactive sequence triggered by a shape click. |
remove(item) | Deletes the specified sequence from the collection |
remove_at(index) | Removes the sequence at the given zero‑based index |
clear() | Removes all sequences from the collection |
__getitem__(index: int) → Sequence | Calls getitem(index) on this SequenceCollection instance. |
__len__() | Calls len on this SequenceCollection instance. |
__iter__() | Calls iter on this SequenceCollection instance. |
__contains__(item) → bool | Calls contains(item) on this SequenceCollection instance. |