Share via


AnimationPoints コレクション

Microsoft PowerPoint Visual Basic リファレンス

AnimationPoints コレクション

PropertyEffect
AnimationPoints
AnimationPoint

PropertyEffect オブジェクトのアニメーション ポイントのコレクションを表します。

使い方

AnimationPoints コレクションのオブジェクトを取得するには、PropertyEffect オブジェクトの Points プロパティを使用します。次の使用例は、作業中のプレゼンテーションで、アニメーションのメイン シーケンスの最初の動作にアニメーション ポイントを追加します。

Sub AddPoint()
    ActivePresentation.Slides(1).TimeLine.MainSequence(1) _
        .Behaviors(1).PropertyEffect.Points.Add
End Sub
		

1 つのアニメーション ポイントから別のアニメーション ポイントへの切り替えは、滑らかでなく表示が乱れることがあります。切り替えを滑らかに行うためには、Smooth プロパティを使用します。次の使用例は、アニメーション ポイント間の切り替えを滑らかにします。

Sub SmoothTransition()
    ActivePresentation.Slides(1).TimeLine.MainSequence(1) _
        .Behaviors(1).PropertyEffect.Points.Smooth = msoTrue
End Sub