Timing.RepeatDuration Property
PowerPoint Developer Reference |
Sets or returns how long repeated animations should last, in seconds. Read/write.
Syntax
expression.RepeatDuration
expression A variable that represents a Timing object.
Return Value
Single
Remarks
An animation will stop at the end of its time sequence or the value of the RepeatDuration property, whichever is shorter.
Example
This examples adds a shape and an animation to it, then repeats the animation ten times. However, after five seconds, the animation will be cut off, even though the animation is dimensioned for a 20-second timeline (if the Duration property is not specified, an animation defaults to two seconds).
Visual Basic for Applications |
---|
|
See Also