Share via


Effect.EffectParameters Property

PowerPoint Developer Reference

Returns an EffectParameters object that represents animation effect properties.

Syntax

expression.EffectParameters

expression   A variable that represents an Effect object.

Return Value
EffectParameters

Example

This example adds an effect to the main animation sequence on the first slide. This effect changes the font for the first shape to Broadway.

Visual Basic for Applications
  Sub ChangeFontName()
    Dim shpText As Shape
    Dim effNew As Effect
Set shpText = ActivePresentation.Slides(1).Shapes(1)
Set effNew = ActivePresentation.Slides(1).TimeLine.MainSequence _
    .AddEffect(Shape:=shpText, EffectId:=msoAnimEffectChangeFont)
effNew.<strong>EffectParameters</strong>.FontName = "Broadway"

End Sub

See Also