Compartilhar via


ChartFillFormat.GradientColorType Property

Returns the gradient color type for the specified fill.

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

Syntax

'Declaration
ReadOnly Property GradientColorType As MsoGradientColorType
    Get
'Usage
Dim instance As ChartFillFormat
Dim value As MsoGradientColorType

value = instance.GradientColorType
MsoGradientColorType GradientColorType { get; }

Property Value

Type: Microsoft.Office.Core.MsoGradientColorType

Remarks

MsoGradientColorType can be one of the following MsoGradientColorType constants:

msoGradientColorMixed

msoGradientOneColor

msoGradientPresetColors

msoGradientTwoColors

MsoGradientColorMixed indicates a combination of the other states in the specified range. Use the OneColorGradient, PresetGradient, or TwoColorGradient method to set the gradient type for the fill.

See Also

Reference

ChartFillFormat Interface

ChartFillFormat Members

Microsoft.Office.Interop.Excel Namespace