SlideShowView.GotoSlide Method
Switches to the specified slide during a slide show. You can specify whether you want the animation effects to be rerun.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub GotoSlide ( _
Index As Integer, _
ResetSlide As MsoTriState _
)
'Usage
Dim instance As SlideShowView
Dim Index As Integer
Dim ResetSlide As MsoTriState
instance.GotoSlide(Index, ResetSlide)
void GotoSlide(
int Index,
MsoTriState ResetSlide
)
Parameters
- Index
Type: System.Int32
The index number of the slide to switch to.
- ResetSlide
Type: Microsoft.Office.Core.MsoTriState
Whether animation effects should be rerun when returning to the first slide. See Remarks for more information.
Remarks
The value of the ResetSlide parameter can be one of these MsoTriState constants. The default is msoTrue.
If you switch from one slide to another during a slide show with ResetSlide set to msoFalse, when you return to the first slide, its animation picks up where it left off. If you switch from one slide to another with ResetSlide set to msoTrue, when you return to the first slide, its entire animation starts over.