Table of contents
TOC
折叠目录
展开目录

TimeLine.InteractiveSequences 属性 (PowerPoint)TimeLine.InteractiveSequences Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回一个序列的对象表示由触发的动画,单击指定的形状。Returns a Sequences object that represents animations that are triggered by click a specified shape.

语法Syntax

表达式InteractiveSequencesexpression. InteractiveSequences

表达式_一个表示一个时间线对象的变量。_expression A variable that represents an TimeLine object.

返回值Return Value

SequencesSequences

注解Remarks

InteractiveSequences属性的默认值是一个空序列集合。The default value of the InteractiveSequences property is an empty Sequences collection.

示例Example

以下示例在第一张幻灯片中添加一个交互式序列并设置新动画序列的文本效果属性。The following example adds an interactive sequence to the first slide and sets the text effect properties for the new animation sequence.

Sub NewInteractiveSeqence()

    Dim seqInteractive As Sequence
    Dim shpText As Shape
    Dim effText As Effect

    Set seqInteractive = ActivePresentation.Slides(1).TimeLine _
        .InteractiveSequences.Add(1)

    Set shpText = ActivePresentation.Slides(1).Shapes(1)
    Set effText = ActivePresentation.Slides(1).TimeLine _
        .MainSequence.AddEffect(Shape:=shpText, _
        EffectId:=msoAnimEffectChangeFont, _
        Trigger:=msoAnimTriggerOnPageClick)

    effText.EffectParameters.FontName = "Broadway"
    seqInteractive.ConvertToTextUnitEffect Effect:=effText, _
        UnitEffect:=msoAnimTextUnitEffectByWord

End Sub

另请参阅See also

概念Concepts

日程表对象TimeLine Object

© 2018 Microsoft