Timing.RepeatUntilNextClick property

This attribute specifies if the effect will repeat until the next click. Read/write Boolean.

public bool RepeatUntilNextClick { get; set; }


using (Presentation presentation = new Presentation("demo.pptx"))
    // Get the effects sequence for the first slide
    ISequence effectsSequence = presentation.Slides[0].Timeline.MainSequence;

    // Get the first effect of main sequence.
    IEffect effect = effectsSequence[0];

    // Change the effect Timing/Repeat to "Until Next Click"
    effect.Timing.RepeatUntilNextClick = true;

See Also