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

NameTypeAccessDescription
countintReadReturns the number of effects in a sequense.
trigger_shapeIShapeRead/WriteReturns or sets shape target for INTERACTIVE sequence.
as_i_enumerableAnyReadAllows to get base IEnumerable interface.

Methods

SignatureDescription
add_effect(shape, effect_type, subtype, trigger_type) → IEffectAdds 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) → IEffectCalls add_effect(paragraph, effect_type, subtype, trigger_type) on this ISequence instance.
add_effect(chart, type, index, effect_type, subtype, trigger_type) → IEffectCalls 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) → IEffectCalls 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) → intReturns the number of effects associated with the given shape
__getitem__(index: int) → IEffectCalls getitem(index) on this ISequence instance.

See Also