Compartir a través de


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.

Remarks

The value of the ResetSlide parameter can be one of these MsoTriState constants. The default is msoTrue.

msoFalse

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.

See Also

Reference

SlideShowView Interface

SlideShowView Members

Microsoft.Office.Interop.PowerPoint Namespace