Sequence

Overview

Sequence is a class in Aspose.Slides FOSS for Python. Inherits from: ISequence.

Represents sequence (collection of effects).

This class declares 15 methods for Sequence objects in Python programs. Available methods include: __getitem__, __iter__, __len__, 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
countintReadGets the count.
trigger_shapeIShapeRead/WriteGets or sets the trigger shape.
as_i_enumerableAnyReadGets the as i enumerable.

Methods

SignatureDescription
add_effect(shape, effect_type, subtype, trigger_type) → IEffectAdds an animation effect to a chart series/category identified by series and category indexes with specified effect settings
add_effect(paragraph, effect_type, subtype, trigger_type) → IEffectCalls add_effect(paragraph, effect_type, subtype, trigger_type) on this Sequence instance.
add_effect(chart, type, index, effect_type, subtype, trigger_type) → IEffectCalls add_effect(chart, type, index, effect_type, subtype, trigger_type) on this Sequence 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 Sequence instance.
add_effect() → IEffectAdd an animation effect to the sequence.
remove(item)Deletes the specified effect or item from the animation sequence
remove_at(index)Calls remove_at(index) on this Sequence instance.
clear()Calls clear on this Sequence instance.
remove_by_shape(shape)Deletes all effects that target the provided shape
get_effects_by_shape(shape) → list[IEffect]Returns a list of effects applied to the given shape
get_effects_by_paragraph(paragraph) → list[IEffect]Get effects that target a specific paragraph.
get_count(shape) → intCalls get_count(shape) on this Sequence instance.
__getitem__(index: int) → IEffectCalls getitem(index) on this Sequence instance.
__len__()Calls len on this Sequence instance.
__iter__()Calls iter on this Sequence instance.

See Also

 English