set_RepeatUntilNextClick()

Timing::set_RepeatUntilNextClick(bool) method

This attribute specifies if the effect will repeat until the next click. Write bool.

void Aspose::Slides::Animation::Timing::set_RepeatUntilNextClick(bool value) override

Remarks

auto presentation = System::MakeObject<Presentation>(path + u"demo.pptx");

// Gets the effects sequence for the first slide
System::SharedPtr<ISequence> effectsSequence = presentation->get_Slides()->idx_get(0)->get_Timeline()->get_MainSequence();

// Gets the first effect of main sequence.
System::SharedPtr<IEffect> effect = effectsSequence->idx_get(0);

// Changes effect Timing/Repeat to "Until End of Slide"
effect->get_Timing()->set_RepeatUntilNextClick(true);

See Also