Partager via


FillFormat.GradientAngle Property

Returns or sets the angle of the gradient fill for the specified fill format. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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

Remarks

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 through 359.9.

See Also

Reference

FillFormat Interface

FillFormat Members

Microsoft.Office.Interop.PowerPoint Namespace