add_effect method

add_effect

Add new effect to the end of sequence.

Returns

New effect object IEffect

def add_effect(self, shape, effect_type, subtype, trigger_type):
    ...
ParameterTypeDescription
shapeIShapeShape object IShape for adding an effect
effect_typeEffectTypeType of an animation effect EffectType
subtypeEffectSubtypeSubtypes of animation effect EffectSubtype
trigger_typeEffectTriggerTypeTrigger type of effect EffectTriggerType

add_effect

Add new animation effect for paragraph to the end of sequence.

Returns

New effect object IEffect

def add_effect(self, paragraph, effect_type, subtype, trigger_type):
    ...
ParameterTypeDescription
paragraphIParagraphParagraph object IParagraph
effect_typeEffectTypeType of an animation effect EffectType
subtypeEffectSubtypeSubtypes of animation effect EffectSubtype
trigger_typeEffectTriggerTypeTrigger type of effect EffectTriggerType

add_effect

Adds the new chart animation effect for category or series to the end of sequence.

Returns

New effect object IEffect

def add_effect(self, chart, type, index, effect_type, subtype, trigger_type):
    ...
ParameterTypeDescription
chartIChartChart object IChart
typeEffectChartMajorGroupingTypeType of an animation effect EffectChartMinorGroupingType
indexintIndex int
effect_typeEffectTypeType of an animation effect EffectType
subtypeEffectSubtypeSubtypes of animation effect EffectSubtype
trigger_typeEffectTriggerTypeTrigger type of effect EffectTriggerType

add_effect

Adds the new chart animation effect for elements in category or series to the end of sequence.

Returns

New effect object IEffect

def add_effect(self, chart, type, series_index, categories_index, effect_type, subtype, trigger_type):
    ...
ParameterTypeDescription
chartIChartChart object IChart
typeEffectChartMinorGroupingTypeType of an animation effect EffectChartMinorGroupingType
series_indexintIndex of chart series int
categories_indexintIndex of category int
effect_typeEffectTypeType of an animation effect EffectType
subtypeEffectSubtypeSubtypes of animation effect EffectSubtype
trigger_typeEffectTriggerTypeTrigger type of effect EffectTriggerType

See Also