ISequence
Overview
ISequence is a class in Aspose.Slides FOSS for Python.
Inherits from: ABC.
Represents sequence (collection of effects).
This class declares 13 methods for ISequence objects in Python programs.
Available methods include: __getitem__, add_effect, clear, get_count, get_effects_by_paragraph, get_effects_by_shape, remove, remove_at, remove_by_shape.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_enumerable, count, trigger_shape.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of effects in a sequense. |
trigger_shape | IShape | Read/Write | Returns or sets shape target for INTERACTIVE sequence. |
as_i_enumerable | Any | Read | Allows to get base IEnumerable interface. |
Methods
| Signature | Description |
|---|---|
add_effect(shape, effect_type, subtype, trigger_type) → IEffect | Adds a new effect to the sequence for a chart element identified by type and index with given effect parameters |
add_effect(paragraph, effect_type, subtype, trigger_type) → IEffect | Calls add_effect(paragraph, effect_type, subtype, trigger_type) on this ISequence instance. |
add_effect(chart, type, index, effect_type, subtype, trigger_type) → IEffect | Calls add_effect(chart, type, index, effect_type, subtype, trigger_type) on this ISequence instance. |
add_effect(chart, type, series_index, categories_index, effect_type, subtype, trigger_type) → IEffect | Calls add_effect(chart, type, series_index, categories_index, effect_type, subtype, trigger_type) on this ISequence instance. |
add_effect() → IEffect | |
remove(item) | Deletes the specified effect from the sequence |
remove_at(index) | Removes the effect at the given zero‑based index from the sequence |
clear() | Removes all effects from the sequence |
remove_by_shape(shape) | Deletes all effects associated with the given shape |
get_effects_by_shape(shape) → list[IEffect] | Returns a list of effects linked to the specified shape |
get_effects_by_paragraph(paragraph) → list[IEffect] | Calls get_effects_by_paragraph(paragraph) on this ISequence instance. |
get_count(shape) → int | Returns the number of effects associated with the given shape |
__getitem__(index: int) → IEffect | Calls getitem(index) on this ISequence instance. |