set_AfterAnimationType()
IEffect::set_AfterAnimationType(Aspose::Slides::Animation::AfterAnimationType) method
Defined an after animation type for effect. Write AfterAnimationType.
virtual void Aspose::Slides::Animation::IEffect::set_AfterAnimationType(Aspose::Slides::Animation::AfterAnimationType value)=0
Remarks
auto presentation = System::MakeObject<Presentation>(u"demo.pptx");
// Get the first effect of the first slide.
System::SharedPtr<IEffect> firstSlideEffect = presentation->get_Slide(0)->get_Timeline()->get_MainSequenceEffect(0);
// Change the effect After animation to "Hide on Next Mouse Click"
firstSlideEffect->set_AfterAnimationType(AfterAnimationType::HideOnNextMouseClick);
See Also
- Enum AfterAnimationType
- Class IEffect
- Namespace Aspose::Slides::Animation
- Library Aspose.Slides