Compartilhar via


FillFormat.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 FillFormat
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 is a return value only which 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

FillFormat Interface

FillFormat Members

Microsoft.Office.Interop.Excel Namespace