Share via


Timing.Speed Property

Returns or sets the speed, in seconds, of the specified animation. Read/write.

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

Syntax

'Declaration
Property Speed As Single
    Get
    Set
'Usage
Dim instance As Timing
Dim value As Single

value = instance.Speed

instance.Speed = value
float Speed { get; set; }

Property Value

Type: System.Single
Single

Examples

This example sets the animation for the main sequence to reverse and sets the speed to one second.

Sub AnimPoints()

    Dim tmlAnim As TimeLine

    Dim spdAnim As Timing



    Set tmlAnim = ActivePresentation.Slides(1).TimeLine

    Set spdAnim = tlnAnim.MainSequence(1).Timing

    With spdAnim

        .AutoReverse = msoTrue

        .Speed= 1

    End With

End Sub

See Also

Reference

Timing Interface

Timing Members

Microsoft.Office.Interop.PowerPoint Namespace