Partager via


SlideShowSettings.PointerColor Property (PowerPoint)

Returns the pointer color for the specified presentation as a ColorFormat object. Read-only.

Syntax

expression .PointerColor

expression A variable that represents a SlideShowSettings object.

Return Value

ColorFormat

Remarks

The pointer color is saved with the presentation and is the default pen color each time you show the presentation.

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

Example

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

See Also

Concepts

SlideShowSettings Object Members

SlideShowSettings Object