Sequence Interface
Represents a collection of ColorEffect objects for a slide's interactive animation sequences. The Sequence collection is a member of the Sequences collection.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
<GuidAttribute("914934DE-5A91-11CF-8700-00AA0060263B")> _
Public Interface Sequence _
Inherits Collection
'Usage
Dim instance As Sequence
[GuidAttribute("914934DE-5A91-11CF-8700-00AA0060263B")]
public interface Sequence : Collection
Examples
Use the MainSequence property of the TimeLine object to return a Sequence object.
Use the AddEffect(Shape, MsoAnimEffect, MsoAnimateByLevel, MsoAnimTriggerType, Int32) method to add a new Sequence object. This example adds a shape and an animation sequence to the first shape on the first slide in the active presentation.
Sub NewEffect()
Dim effNew As Effect
Dim shpFirst As Shape
Set shpFirst = ActivePresentation.Slides(1).Shapes(1)
Set effNew = ActivePresentation.Slides(1).TimeLine.MainSequence.AddEffect _
(Shape:=shpFirst, effectId:=msoAnimEffectBlinds)
End Sub