Share via


_Slide.TimeLine Property

Returns a TimeLine object that represents the animation timeline for the slide. Read-only.

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

Syntax

'Declaration
ReadOnly Property TimeLine As TimeLine
    Get
'Usage
Dim instance As _Slide
Dim value As TimeLine

value = instance.TimeLine
TimeLine TimeLine { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.TimeLine
TimeLine

Examples

The following example adds a bouncing animation to the first shape on the first slide.

Sub NewTimeLineEffect()



    Dim sldFirst As Slide

    Dim shpFirst As Shape



    Set sldFirst = ActivePresentation.Slides(1)

    Set shpFirst = sldFirst.Shapes(1)



    sldFirst.TimeLine.MainSequence.AddEffect _

        Shape:=shpFirst, EffectId:=msoAnimEffectBounce



End Sub

See Also

Reference

_Slide Interface

_Slide Members

Microsoft.Office.Interop.PowerPoint Namespace