ShapeRange.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.


expressionexpression. AnimationSettings

_運算式_代表**ShapeRange** 物件的變數。expression A variable that represents a ShapeRange object.

傳回值Return value



在這個範例中,會設定使用中簡報第二張投影片上第一個圖案會在投影片建立時從左方飛入。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 物件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.