Partager via


ColorFormat.ObjectThemeColor Property

Returns or sets a color that is mapped to the theme color scheme. Read/write MsoThemeColorIndex.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.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
MsoThemeColorIndex

See Also

Reference

ColorFormat Interface

ColorFormat Members

Microsoft.Office.Interop.Excel Namespace