Partager via


AnimationSettings.EntryEffect Property (PowerPoint)

For the AnimationSettings object, this property returns or sets the special effect applied to the animation for the specified shape. Read/write.

Syntax

expression .EntryEffect

expression A variable that represents an AnimationSettings object.

Return Value

PpEntryEffect

Remarks

If the TextLevelEffect property for the specified shape is set to ppAnimateLevelNone (the default value) or the Animate property is set to False, you won't see the special effect you've applied with the EntryEffect property.

Example

This example adds a title slide to the active presentation and sets the title to fly in from the right whenever it is animated during a slide show.

With ActivePresentation.Slides.Add(1, ppLayoutTitleOnly).Shapes(1)

        .TextFrame.TextRange.Text = "Sample title"

    With .AnimationSettings

        .TextLevelEffect = ppAnimateByAllLevels

        .EntryEffect = ppEffectFlyFromRight

        .Animate = True

    End With

End With

See Also

Concepts

AnimationSettings Object Members

AnimationSettings Object