ColorFormat.SchemeColor Property
PowerPoint Developer Reference |
Returns or sets the color in the applied color scheme that's associated with the specified object. Read/write.
Syntax
expression.SchemeColor
expression A variable that represents a ColorFormat object.
Return Value
PpColorSchemeIndex
Remarks
The value of the SchemeColor property can be one of these PpColorSchemeIndex constants.
ppAccent1 |
ppAccent2 |
ppAccent3 |
ppBackground |
ppFill |
ppForeground |
ppNotSchemeColor |
ppSchemeColorMixed |
ppShadow |
ppTitle |
Example
This example switches the background color on slide one in the active presentation between an explicit red-green-blue value and the color-scheme background color.
Visual Basic for Applications |
---|
|
See Also