set_AnimateTextType()

IEffect::set_AnimateTextType(Aspose::Slides::Animation::AnimateTextType) method

Defines an animate text type for effect. The shape text can be animated by letter, by word or all at once. Write AnimateTextType.

virtual void Aspose::Slides::Animation::IEffect::set_AnimateTextType(Aspose::Slides::Animation::AnimateTextType value)=0

Remarks

System::SharedPtr<Presentation> 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 Animate text type to "By letter"
firstSlideEffect->set_AnimateTextType(AnimateTextType::ByLetter);

See Also