Partager via


Timing Object (PowerPoint)

Represents timing properties for an animation effect.

Remarks

Use the following read/write properties of the Timing object to manipulate animation timing effects.

Use this property

To change this...

Accelerate

Percentage of the duration over which acceleration should take place

AutoReverse

Whether an effect should play forward and then reverse, thereby doubling the duration

Decelerate

Percentage of the duration over which acceleration should take place

Duration

Length of animation (in seconds)

RepeatCount

Number of times to repeat the animation

RepeatDuration

How long should the repeats last (in seconds)

Restart

Restart behavior of an animation node

RewindAtEnd

Whether an objects return to its beginning position after an effect has ended

SmoothStart

Whether an effect accelerates when it starts

SmoothEnd

Whether an effect decelerates when it ends

TriggerDelayTime

Delay time from when the trigger is enabled (in seconds)

TriggerShape

Which shape is associated with the timing effect

TriggerType

How the timing effect is triggered

Example

To return a Timing object, use the Timing property of the AnimationBehavior or Effect object. The following example sets timing duration information for the main animation.

ActiveWindow.Selection.SlideRange(1).TimeLine.MainSequence(1).Timing.Duration = 5

See Also

Concepts

PowerPoint Object Model Reference

Timing Object Members