Compartir a través de


NegativeBarFormat.ColorType Property

Gets or sets whether to use the same fill color as positive data bars.

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

Syntax

'Declaration
Property ColorType As XlDataBarNegativeColorType
    Get
    Set
'Usage
Dim instance As NegativeBarFormat
Dim value As XlDataBarNegativeColorType

value = instance.ColorType

instance.ColorType = value
XlDataBarNegativeColorType ColorType { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlDataBarNegativeColorType
Specifies whether to use the same fill color as positive data bars.

Remarks

Read/write.

If you set the ColorType property to xlDataBarColor, use the Color property of the NegativeBarFormat object to return a FormatColor object that you can use to specify the fill color.

See Also

Reference

NegativeBarFormat Interface

NegativeBarFormat Members

Microsoft.Office.Interop.Excel Namespace