[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILineFormat.GradientAngle

GradientAngle Property

GradientAngle

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

Use this property to get or set the direction of a gradient that has been applied to the line.

Declaration
double GradientAngle { get; set; }
Property GradientAngle As Double
Examples
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 10, 10, 200, 100);
ILineFormat line = connector.Line;
line.TwoColorGradient(GradientStyle.Horizontal, 1);
line.GradientAngle = 45;
double angle = line.GradientAngle;