AnimationSettings 属性(PowerPoint)ShapeRange.AnimationSettings property (PowerPoint)

返回一个 AnimationSettings 对象,该对象表示可应用于指定形状的动画的所有特殊效果。Returns an AnimationSettings object that represents all the special effects you can apply to the animation of the specified shape. 此为只读属性。Read-only.

语法Syntax

expressionexpression. AnimationSettings

_表达式_一个代表**ShapeRange** 对象的变量。expression A variable that represents a ShapeRange object.

返回值Return value

AnimationSettingsAnimationSettings

示例Example

以下示例设置在创建幻灯片时,当前演示文稿第二张幻灯片的第一个形状从左侧飞入。This example sets shape one on slide two in the active presentation to fly in from the left when the slide is built.

With ActivePresentation.Slides(2).Shapes(1).AnimationSettings

    .EntryEffect = ppEffectFlyFromLeft

    .TextLevelEffect = ppAnimateByAllLevels

End With

另请参阅See also

绘图对象ShapeRange Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.