Sdílet prostřednictvím


ColorFormat.ObjectThemeColor Property

Returns or sets the theme color of the specified ColorFormat object. Read/Write.

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

Syntax

'Declaration
Property ObjectThemeColor As MsoThemeColorIndex
    Get
    Set
'Usage
Dim instance As ColorFormat
Dim value As MsoThemeColorIndex

value = instance.ObjectThemeColor

instance.ObjectThemeColor = value
MsoThemeColorIndex ObjectThemeColor { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoThemeColorIndex

Remarks

The value of the ObjectThemeColor property can be one of the MsoThemeColorIndex constants.

See Also

Reference

ColorFormat Interface

ColorFormat Members

Microsoft.Office.Interop.PowerPoint Namespace