Sequence

Overview

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

Represents sequence (collection of effects).

Properties

NameTypeAccessDescription
countintReadGets the total number of animation effects in the sequence
trigger_shapeIShapeReadGets or sets the shape that acts as the trigger for the sequence
as_i_enumerableAnyReadProvides an enumerable view of the sequence’s effects

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)IEffect
add_effect(chart, type, index, effect_type, subtype, trigger_type)IEffect
add_effect(chart, type, series_index, categories_index, effect_type, subtype, trigger_type)IEffect
add_effect()IEffectAdd an animation effect to the sequence.
remove(item)Deletes the specified effect or item from the animation sequence
remove_at(index)
clear()
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)int