共用方式為


SlideShowSettings.Run Method

Runs a slide show of the specified presentation. Returns a SlideShowWindow object.

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

Syntax

'Declaration
Function Run As SlideShowWindow
'Usage
Dim instance As SlideShowSettings
Dim returnValue As SlideShowWindow

returnValue = instance.Run()
SlideShowWindow Run()

Return Value

Type: Microsoft.Office.Interop.PowerPoint.SlideShowWindow

Remarks

To run a custom slide show, set the RangeType property to ppShowNamedSlideShow, and set the SlideShowName property to the name of the custom show you want to run.

See Also

Reference

SlideShowSettings Interface

SlideShowSettings Members

Microsoft.Office.Interop.PowerPoint Namespace