Edit

Share via


SlideShowView object (PowerPoint)

Represents the view in a slide show window.

Example

Use the Viewproperty of the SlideShowWindow object to return the SlideShowView object. The following example sets slide show window one to display the first slide in the presentation.

SlideShowWindows(1).View.First

Use the Runmethod of the SlideShowSettings object to create a SlideShowWindow object, and then use the View property to return the SlideShowView object the window contains. The following example runs a slide show of the active presentation, changes the pointer to a pen, and sets the pen color for the slide show to red.

With ActivePresentation.SlideShowSettings.Run.View

    .PointerColor.RGB = RGB(255, 0, 0)

    .PointerType = ppSlideShowPointerPen

End With

See also

PowerPoint Object Model Reference SlideShowView Object Members

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.