EApplication.ColorSchemeChanged Method
Returns a SlideRange object that represents a range of selected slides. Read-only.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub ColorSchemeChanged ( _
SldRange As SlideRange _
)
'Usage
Dim instance As EApplication
Dim SldRange As SlideRange
instance.ColorSchemeChanged(SldRange)
void ColorSchemeChanged(
SlideRange SldRange
)
Parameters
- SldRange
Type: Microsoft.Office.Interop.PowerPoint.SlideRange
Remarks
A slide range can be constructed in slide view, slide sorter view, normal view, notes page view, or outline view. In slide view, SlideRange returns one slide — the current, displayed slide.
Examples
This example sets the background scheme color for all the selected slides in window one.
Windows(1).Selection.SlideRange.ColorScheme _
.Colors(ppBackground).RGB = RGB(0, 0, 255)