Partager via


Font.Color Property

Returns or sets the primary color of the font.

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

Syntax

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

value = instance.Color

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

Property Value

Type: System.Object

See Also

Reference

Font Interface

Font Members

Microsoft.Office.Interop.Excel Namespace