[]
Returns the shade variant for the specified fill as an integer value from 1 through 4.
This property indicates which gradient variant is applied to the line when a gradient fill is used.
int GradientVariant { get; }
ReadOnly Property GradientVariant As Integer
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 10, 10, 200, 100);
ILineFormat line = connector.Line;
line.OneColorGradient(GradientStyle.Horizontal, 2, 0.5);
int variant = line.GradientVariant;