AnimationSettings.AfterEffect Property (PowerPoint)

Returns or sets a PpAfterEffect constant that indicates whether the specified shape appears dimmed, hidden, or unchanged after it is built. Read/write.

Syntax

expression. AfterEffect

expression A variable that represents an AnimationSettings object.

Remarks

You won't see the aftereffect you set for a shape unless the shape gets animated and at least one other shape on the slide gets animated after it. For a shape to be animated, the TextLevelEffect property of the AnimationSettings object for the shape must be set to something other than ppAnimateLevelNone, or the EntryEffect property must be set to a constant other than ppEffectNone. In addition, the Animate property must be set to True. To change the build order of the shapes on a slide, use the AnimationOrder property.

The value of the AfterEffect property can be one of these PpAfterEffect constants.

ppAfterEffectDim
ppAnimAfterEffectHide
ppAfterEffectHideOnNextClick
ppAfterEffectMixed
ppAfterEffectNone

Example

This example specifies that the title on slide one in the active presentation is to appear dimmed after the title is built. If the title is the last or only shape to be built on slide one, the text does not appear dimmed.

With ActivePresentation.Slides(1).Shapes.Title.AnimationSettings

    .Animate = True

    .TextLevelEffect = ppAnimateByAllLevels

    .AfterEffect = ppAfterEffectDim

End With

See also

AnimationSettings Object