Partager via


ColorFormat.SchemeColor Property

Returns or sets the color in the applied color scheme that's associated with the specified object. Read/write.

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

Syntax

'Declaration
Property SchemeColor As PpColorSchemeIndex
    Get
    Set
'Usage
Dim instance As ColorFormat
Dim value As PpColorSchemeIndex

value = instance.SchemeColor

instance.SchemeColor = value
PpColorSchemeIndex SchemeColor { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpColorSchemeIndex

Remarks

The value of the SchemeColor property can be one of these PpColorSchemeIndex constants.

ppAccent1

ppAccent2

ppAccent3

ppBackground

ppBackground

ppForeground

ppNotSchemeColor

ppSchemeColorMixed

ppShadow

ppTitle

See Also

Reference

ColorFormat Interface

ColorFormat Members

Microsoft.Office.Interop.PowerPoint Namespace