add_effect method
Contents
[
Hide
]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):
...
| Parameter | Type | Description |
|---|---|---|
| shape | IShape | Shape object IShape for adding an effect |
| effect_type | EffectType | Type of an animation effect EffectType |
| subtype | EffectSubtype | Subtypes of animation effect EffectSubtype |
| trigger_type | EffectTriggerType | Trigger 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):
...
| Parameter | Type | Description |
|---|---|---|
| paragraph | IParagraph | Paragraph object IParagraph |
| effect_type | EffectType | Type of an animation effect EffectType |
| subtype | EffectSubtype | Subtypes of animation effect EffectSubtype |
| trigger_type | EffectTriggerType | Trigger 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):
...
| Parameter | Type | Description |
|---|---|---|
| chart | IChart | Chart object IChart |
| type | EffectChartMajorGroupingType | Type of an animation effect EffectChartMinorGroupingType |
| index | int | Index int |
| effect_type | EffectType | Type of an animation effect EffectType |
| subtype | EffectSubtype | Subtypes of animation effect EffectSubtype |
| trigger_type | EffectTriggerType | Trigger 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):
...
| Parameter | Type | Description |
|---|---|---|
| chart | IChart | Chart object IChart |
| type | EffectChartMinorGroupingType | Type of an animation effect EffectChartMinorGroupingType |
| series_index | int | Index of chart series int |
| categories_index | int | Index of category int |
| effect_type | EffectType | Type of an animation effect EffectType |
| subtype | EffectSubtype | Subtypes of animation effect EffectSubtype |
| trigger_type | EffectTriggerType | Trigger type of effect EffectTriggerType |
See Also
- enumeration
EffectChartMajorGroupingType - enumeration
EffectChartMinorGroupingType - enumeration
EffectSubtype - enumeration
EffectTriggerType - enumeration
EffectType - class
IChart - class
IEffect - class
IParagraph - class
IShape - class
Sequence - module
aspose.slides.animation - library
Aspose.Slides