set_AnimateTextType()

Effect::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.

void Aspose::Slides::Animation::Effect::set_AnimateTextType(Aspose::Slides::Animation::AnimateTextType value) override

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