Share via


Effect.EffectInformation Property

PowerPoint Developer Reference

Returns an EffectInformation object that represents information for a specified animation effect.

Syntax

expression.EffectInformation

expression   A variable that represents an Effect object.

Return Value
EffectInformation

Example

This example adds a sound effect to the main animation sequence for a given shape.

Visual Basic for Applications
  Sub AddSoundEffect()
    Dim effMain As Effect
    Set effMain = ActivePresentation.Slides(1).TimeLine.MainSequence(1)
    MsgBox effMain.EffectInformation.AfterEffect
End Sub

See Also