Compartilhar via


ChartColorFormat Interface

Used only with charts. Represents the color of a one-color object or the foreground or background color of an object with a gradient or patterned fill.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00024436-0000-0000-C000-000000000046")> _
Public Interface ChartColorFormat
'Usage
Dim instance As ChartColorFormat
[InterfaceTypeAttribute()]
[GuidAttribute("00024436-0000-0000-C000-000000000046")]
public interface ChartColorFormat

Remarks

Use one of the properties listed in the following table to return a ChartColorFormat object.

Use this property

With this object

To return a ChartColorFormat object that represents this

BackColor

ChartFillFormat

Background fill color (used in a shaded or patterned fill)

ForeColor

ChartFillFormat

Foreground fill color (or just the fill color for a solid fill)

See Also

Reference

ChartColorFormat Members

Microsoft.Office.Interop.Excel Namespace