[]
Returns the gradient style for the specified line.
Use this method to determine how the current gradient is applied to the line, such as horizontal, vertical, or diagonal shading.
GradientStyle GradientStyle { get; }
ReadOnly Property GradientStyle As GradientStyle
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 10, 10, 200, 100);
ILineFormat line = connector.Line;
line.OneColorGradient(GradientStyle.Vertical, 1, 0.5);
GradientStyle style = line.GradientStyle;