Effect.EffectParameters Property (PowerPoint)
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.
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.EffectParameters.FontName = "Broadway"
End Sub