set_RepeatUntilNextClick()
ITiming::set_RepeatUntilNextClick(bool) method
This attribute specifies if the effect will repeat until the next click. Write bool.
virtual void Aspose::Slides::Animation::ITiming::set_RepeatUntilNextClick(bool value)=0
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
- Class ITiming
- Namespace Aspose::Slides::Animation
- Library Aspose.Slides