Partager via


SlideShowTransition.AdvanceOnClick Property

Determines whether the specified slide advances when it is clicked during a slide show. Read/write.

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

Syntax

'Declaration
Property AdvanceOnClick As MsoTriState
    Get
    Set
'Usage
Dim instance As SlideShowTransition
Dim value As MsoTriState

value = instance.AdvanceOnClick

instance.AdvanceOnClick = value
MsoTriState AdvanceOnClick { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

To set the slide to advance automatically after a certain amount of time elapses, set the AdvanceOnTime property to true and set the AdvanceTime property to the amount of time you want the slide to be shown. If you set both the AdvanceOnClick and the AdvanceOnTime properties to true, the slide advances either when it is clicked or when the specified amount of time has elapsed — whichever comes first.

The value of the AdvanceOnClick property can be one of these MsoTriState constants.

Constant

Description

msoFalse

The specified slide does not advance when it is clicked during a slide show.

msoTrue

The specified slide advances when it is clicked during a slide show.

See Also

Reference

SlideShowTransition Interface

SlideShowTransition Members

Microsoft.Office.Interop.PowerPoint Namespace