ISequenceAddEffect Method (IShape, EffectType, EffectSubtype, EffectTriggerType)

Add new effect to the end of sequence.

Namespace:  Aspose.Slides.Animation
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.6.0.0 (21.6)
Syntax
IEffect AddEffect(
	IShape shape,
	EffectType effectType,
	EffectSubtype subtype,
	EffectTriggerType triggerType
)

Parameters

shape
Type: Aspose.SlidesIShape
Shape object IShape for adding an effect
effectType
Type: Aspose.Slides.AnimationEffectType
Type of an animation effect EffectType
subtype
Type: Aspose.Slides.AnimationEffectSubtype
Subtypes of animation effect EffectSubtype
triggerType
Type: Aspose.Slides.AnimationEffectTriggerType
Trigger type of effect EffectTriggerType

Return Value

Type: IEffect
New effect object IEffect
See Also