Partager via


SlideShowView.GetClickIndex Method

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)

Syntax

'Declaration
Function GetClickIndex As Integer
'Usage
Dim instance As SlideShowView
Dim returnValue As Integer

returnValue = instance.GetClickIndex()
int GetClickIndex()

Return Value

Type: System.Int32

Remarks

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.

See Also

Reference

SlideShowView Interface

SlideShowView Members

Microsoft.Office.Interop.PowerPoint Namespace