AnimationBehaviors オブジェクト (PowerPoint)

AnimationBehavior オブジェクトのコレクションを表します。

アニメーション動作を追加するのにには、 Addメソッドを使用します。 次の例では、最初のスライドのアニメーションのメイン シーケンスに 5 秒の回転動作を追加します。

Sub AnimationObject()

    Dim timeMain As TimeLine



    'Reference the main animation timeline

    Set timeMain = ActivePresentation.Slides(1).TimeLine



    'Add a five-second animated rotation behavior

    'as the first animation in the main animation sequence

    timeMain.MainSequence(1).Behaviors.Add Type:=msoAnimTypeRotation, Index:=1

End Sub

関連項目

PowerPoint Object Model Reference

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。