AfterAnimationType

IEffect.AfterAnimationType property

Defined an after animation type for effect. Read/write AfterAnimationType.

public AfterAnimationType AfterAnimationType { get; set; }

Examples

[C#]
using (Presentation presentation = new Presentation("demo.pptx"))
{
    // Get the first effect of the first slide.
    IEffect firstSlideEffect = presentation.Slides[0].Timeline.MainSequence[0];
    
    // Change the effect After animation to "Hide on Next Mouse Click"
    firstSlideEffect.AfterAnimationType = AfterAnimationType.HideOnNextMouseClick;
}

See Also