Table of contents
TOC
Collapse the table of content
Expand the table of content

Timing.SmoothStart Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines whether an animation should accelerate when it starts. Read/write.

Syntax

expression. SmoothStart

expression A variable that represents a Timing object.

Return Value

MsoTriState

Remarks

The value of the SmoothStart property can be one of these MsoTriState constants.

ConstantDescription
msoFalseThe default. The animation does not accelerate when it starts.
msoTrueThe animation accelerates when it starts.

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

See also

Concepts

Timing Object

© 2018 Microsoft