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 Timingproperty 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
PowerPoint Object Model Reference
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.