PointerColor Property

Microsoft PowerPoint Visual Basic

ShowPointerColor Property as it applies to the SlideShowSettings object.

Returns the pointer color for the specified presentation as a ColorFormat object. This color is saved with the presentation and is the default pen color each time you show the presentation. Read-only.

ShowPointerColor Property as it applies to the SlideShowView object.

Returns a ColorFormat object that represents the pointer color for the specified presentation during one slide show. As soon as the slide show is finished, the color reverts to the default color for the presentation. Read-only.

Remarks

To change the pointer to a pen, set the PointerType property to ppSlideShowPointerPen.

Example

ShowAs it applies to the SlideShowSettings object.

This example sets the default pen color for the active presentation to blue, starts a slide show, changes the pointer to a pen, and then sets the pen color to red for this slide show only.

With ActivePresentation.SlideShowSettings
    .PointerColor.RGB = RGB(0, 0, 255)          'blue
    With .Run.View
        .PointerColor.RGB = RGB(255, 0, 0)      'red
        .PointerType = ppSlideShowPointerPen
    End With
End With