Compartilhar via


ColorScaleCriterion.FormatColor Property

Returns a FormatColor object, which specifies the color assigned to the threshold of a color scale conditional format. Read-only.

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

Syntax

'Declaration
ReadOnly Property FormatColor As FormatColor
    Get
'Usage
Dim instance As ColorScaleCriterion
Dim value As FormatColor

value = instance.FormatColor
FormatColor FormatColor { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.FormatColor
FormatColor

Remarks

You can set the color of the minimum, midpoint, or maximum thresholds to any custom color by using the Color property; or use the ThemeColor property.

See Also

Reference

ColorScaleCriterion Interface

ColorScaleCriterion Members

Microsoft.Office.Interop.Excel Namespace