[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILineFormat.GradientStyle

GradientStyle Property

GradientStyle

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.

Declaration
GradientStyle GradientStyle { get; }
ReadOnly Property GradientStyle As GradientStyle
Examples
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;