constant that represents whether an animation should accelerate when it starts. Read/write.
MsoTriState can be one of these MsoTriState constants. |
msoCTrue Doesn't apply to this property. |
msoFalse Default. The animation does not accelerate when it starts. |
msoTriStateMixed Doesn't apply to this property. |
msoTriStateToggle Doesn't apply to this property. |
msoTrue The animation accelerates when it starts. |
expression.SmoothStart
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example adds a shape to a slide, animates the shape, and instructs the shape to accelerate when it starts.
Sub AddShapeSetTiming()
Dim effDiamond As Effect
Dim shpRectangle As Shape
Set shpRectangle = ActivePresentation.Slides(1).Shapes _
.AddShape(Type:=msoShapeRectangle, Left:=100, _
Top:=100, Width:=50, Height:=50)
Set effDiamond = ActivePresentation.Slides(1).TimeLine.MainSequence _
.AddEffect(Shape:=shpRectangle, effectId:=msoAnimEffectPathDiamond)
With effDiamond.Timing
.Duration = 5
.SmoothStart = msoTrue
End With
End Sub