Share via


Timing Interface

Represents timing properties for an animation effect.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("914934E0-5A91-11CF-8700-00AA0060263B")> _
Public Interface Timing
'Usage
Dim instance As Timing
[GuidAttribute("914934E0-5A91-11CF-8700-00AA0060263B")]
public interface Timing

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

Examples

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

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

See Also

Reference

Timing Members

Microsoft.Office.Interop.PowerPoint Namespace