Partager via


Sequence.AddTriggerEffect Method (PowerPoint)

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

Version Information

Version Added: PowerPoint 2010

Syntax

expression .AddTriggerEffect(pShape, effectId, trigger, pTriggerShape, bookmark, Level)

expression A variable that represents a Sequence object.

Parameters

Name

Required/Optional

Data Type

Description

pShape

Required

Shape

The Shape object with animation.

effectId

Required

MsoAnimEffect

The type of animation.

trigger

Required

MsoAnimTriggerType

The type of trigger effect to add.

pTriggerShape

Required

Shape

The Shape object that represents the trigger.

bookmark

Optional

String

The bookmark.

Level

Optional

MsoAnimateByLevel

The level of animation.

Return Value

Effect

See Also

Concepts

Sequence Object

Sequence Object Members