Partager via


FillFormat.GradientDegree Property

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

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

Syntax

'Declaration
ReadOnly Property GradientDegree As Single
    Get
'Usage
Dim instance As FillFormat
Dim value As Single

value = instance.GradientDegree
float GradientDegree { get; }

Property Value

Type: System.Single

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 method to set the gradient degree for the fill.

See Also

Reference

FillFormat Interface

FillFormat Members

Microsoft.Office.Interop.Word Namespace