This documentation is archived and is not being maintained.

SlideShowView.GotoClick Method

Office 2010

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)

void GotoClick(
	int Index


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

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.