Font.ThemeColor Property

Returns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write Object.

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

Syntax

'Declaration
Property ThemeColor As Object
    Get
    Set
'Usage
Dim instance As Font
Dim value As Object

value = instance.ThemeColor

instance.ThemeColor = value
Object ThemeColor { get; set; }

Property Value

Type: System.Object
Integer

Remarks

Attempting to access a theme color for an object whose color is not currently themed will result in an invalid request run-time error.

See Also

Reference

Font Interface

Font Members

Microsoft.Office.Interop.Excel Namespace