SlideShowTransition.AdvanceTime Property
Returns or sets the amount of time, in seconds, after which the specified slide transition will occur. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property AdvanceTime As Single
Get
Set
'Usage
Dim instance As SlideShowTransition
Dim value As Single
value = instance.AdvanceTime
instance.AdvanceTime = value
float AdvanceTime { get; set; }
Property Value
Type: System.Single
Single
Remarks
To put the slide interval settings into effect for the entire slide show, set the AdvanceMode property of the SlideShowSettings object to ppSlideShowUseSlideTimings.
Examples
This example sets slide one in the active presentation to advance after five seconds have passed or when the mouse is clicked — whichever occurs first.
With ActivePresentation.Slides(1).SlideShowTransition
.AdvanceOnClick = msoTrue
.AdvanceOnTime = msoTrue
.AdvanceTime = 5
End With