Aspose.Slides for Python 23.9 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESPYNET-123Use Aspose.Slides for Net 23.9 featuresEnhancement

Public API Changes

Text Animation Effect - AnimateTextType enum has been added

The new AnimateTextType enum has been added and it represents the animate text type of an animation effect. It allows to set the following text animation types:

  • animate all text at once
  • animate text by word
  • animate text by letter

Example:

import aspose.slides as slides
from aspose.slides import animation as anim

with slides.Presentation() as pres:
    
    autoShape = pres.slides[0].shapes.add_auto_shape(slides.ShapeType.RECTANGLE, 150, 150, 250, 25)
    autoShape.add_text_frame("Animated TextBox")

    effect = pres.slides[0].timeline.main_sequence.add_effect(autoShape, 
        anim.EffectType.PATH_FOOTBALL,
        anim.EffectSubtype.NONE, 
        anim.EffectTriggerType.AFTER_PREVIOUS)
    
    firstSlideEffect = pres.slides[0].timeline.main_sequence[0]
    firstSlideEffect.animate_text_type = anim.AnimateTextType.BY_LETTER