[]
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.
double GradientAngle { get; set; }
Property GradientAngle As Double
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;