_Slide.ColorScheme Property

Returns or sets the ColorScheme object that represents the scheme colors for the specified slide, slide range, or slide master. Read/write.

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

Syntax

'Declaration
Property ColorScheme As ColorScheme
    Get
    Set
'Usage
Dim instance As _Slide
Dim value As ColorScheme

value = instance.ColorScheme

instance.ColorScheme = value
ColorScheme ColorScheme { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.ColorScheme
ColorScheme

Examples

This example sets the title color to green for slides one and three in the active presentation.

Set mySlides = ActivePresentation.Slides.Range(Array(1, 3))

mySlides.ColorScheme.Colors(ppTitle).RGB = RGB(0, 255, 0)

See Also

Reference

_Slide Interface

_Slide Members

Microsoft.Office.Interop.PowerPoint Namespace