Share via


SlideShowSettings.PointerColor Property

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

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

Syntax

'Declaration
ReadOnly Property PointerColor As ColorFormat
    Get
'Usage
Dim instance As SlideShowSettings
Dim value As ColorFormat

value = instance.PointerColor
ColorFormat PointerColor { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.ColorFormat
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.

Examples

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

Reference

SlideShowSettings Interface

SlideShowSettings Members

Microsoft.Office.Interop.PowerPoint Namespace