FillFormat.GradientDegree Property

Definition

Returns a value that indicates how dark or light a one-color gradient fill is.

public:
 property float GradientDegree { float get(); };
public float GradientDegree { get; }
member this.GradientDegree : single
Public ReadOnly Property GradientDegree As Single

Property Value

Remarks

A value of 0 (zero) means that black is mixed in with the shape's foreground color to form the gradient; a value of 1 means that white is mixed in; and values between 0 and 1 mean that a darker or lighter shade of the foreground color is mixed in.

Use the OneColorGradient(MsoGradientStyle, Int32, Single) method to set the gradient degree for the fill.

Applies to