AnimationBehaviors コレクション
Microsoft PowerPoint Visual Basic リファレンス |
AnimationBehaviors コレクション
Effect AnimationBehaviors AnimationBehavior 複数のオブジェクト |
AnimationBehavior オブジェクトのコレクションを表します。
使い方
アニメーション動作を追加するには、Add メソッドを使用します。次の使用例は、スライド 1 のアニメーションのメイン シーケンスに 5 秒の回転動作を追加します。
Sub AnimationObject()
Dim timeMain As TimeLine
'アニメーションのメイン タイムラインを参照します。
Set timeMain = ActivePresentation.Slides(1).TimeLine
'アニメーションのメイン シーケンスの最初のアニメーションとして、
'5 秒の回転動作を追加します。
timeMain.MainSequence(1).Behaviors.Add Type:=msoAnimTypeRotation, Index:=1
End Sub