Partager via


SlideShowView.GotoClick Method

Plays an animation associated with a specified mouse click and any animations that follow on the slide.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub GotoClick ( _
    Index As Integer _
)
'Usage
Dim instance As SlideShowView
Dim Index As Integer

instance.GotoClick(Index)
void GotoClick(
    int Index
)

Parameters

  • Index
    Type: System.Int32
    The index number of the mouse click that initiates an animation.

Remarks

Use the GetClickIndex() method to return the index number of the current mouse click for an animation that is actively playing on a slide or has just finished.

Specifying a value of 0 for Index plays animations beginning at the point just before any animations that run automatically. Specifying a value of msoClickStateBeforeAutomaticAnimations for Index moves to the point just before any animations that run automatically, and then pauses. Specifying an value of msoClickStateAfterAllAnimations for Index moves to the point after all animations.

See Also

Reference

SlideShowView Interface

SlideShowView Members

Microsoft.Office.Interop.PowerPoint Namespace