FillFormat.GradientColorType Property

Definition

Returns the gradient color type for the specified fill.

public:
 property Microsoft::Office::Core::MsoGradientColorType GradientColorType { Microsoft::Office::Core::MsoGradientColorType get(); };
public Microsoft.Office.Core.MsoGradientColorType GradientColorType { get; }
Public ReadOnly Property GradientColorType As MsoGradientColorType

Property Value

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(MsoGradientStyle, Int32, Single), PresetGradient(MsoGradientStyle, Int32, MsoPresetGradientType), or TwoColorGradient(MsoGradientStyle, Int32) method to set the gradient type for the fill.

Applies to