This documentation is archived and is not being maintained.

SlideShowView.GetClickIndex Method

Office 2010

Returns the index number of the current mouse click for an animation that is actively playing on a slide or has just finished.

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

int GetClickIndex()

Return Value

Type: System.Int32

Use the GetClickCount() method to return the number of mouse clicks that are defined for a slide.

If a slide has no animations or if a user has not advanced yet to an animation, the GetClickIndex() method returns 0. If a slide has an animation that runs automatically and the user moves to the previous page, the GetClickIndex() method returns msoClickStateBeforeAutomaticAnimations.