Compartilhar via


FillFormat.GradientAngle Property

Gets or sets the angle of the gradient fill for the specified fill format.

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

Syntax

'Declaration
Property GradientAngle As Single
    Get
    Set
'Usage
Dim instance As FillFormat
Dim value As Single

value = instance.GradientAngle

instance.GradientAngle = value
float GradientAngle { get; set; }

Property Value

Type: System.Single
The angle of the gradient fill for the specified fill format.

Remarks

Read/write.

A gradient fill can be specified in the formatting for various elements (shapes) in a chart. For example, you can use the Format Data Series dialog box to format the columns in a Column chart to a gradient fill. In this case, the GradientAngle property corresponds to the setting of the Angle box in the Fill category of the Format Data Series dialog box. The valid range of values for the GradientAngle property is from 0 to 359.9.

See Also

Reference

FillFormat Interface

FillFormat Members

Microsoft.Office.Interop.Excel Namespace