Compartir a través de


Sequence.AddTriggerEffect Method

Adds a trigger effect to the animation in a Sequence object.

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

Syntax

'Declaration
Function AddTriggerEffect ( _
    pShape As Shape, _
    effectId As MsoAnimEffect, _
    trigger As MsoAnimTriggerType, _
    pTriggerShape As Shape, _
    bookmark As String, _
    Level As MsoAnimateByLevel _
) As Effect
'Usage
Dim instance As Sequence
Dim pShape As Shape
Dim effectId As MsoAnimEffect
Dim trigger As MsoAnimTriggerType
Dim pTriggerShape As Shape
Dim bookmark As String
Dim Level As MsoAnimateByLevel
Dim returnValue As Effect

returnValue = instance.AddTriggerEffect(pShape, _
    effectId, trigger, pTriggerShape, _
    bookmark, Level)
Effect AddTriggerEffect(
    Shape pShape,
    MsoAnimEffect effectId,
    MsoAnimTriggerType trigger,
    Shape pTriggerShape,
    string bookmark,
    MsoAnimateByLevel Level
)

Parameters

Return Value

Type: Microsoft.Office.Interop.PowerPoint.Effect

See Also

Reference

Sequence Interface

Sequence Members

Microsoft.Office.Interop.PowerPoint Namespace