[]
Gets the number of gradient stops in this IGradientStops collection.
Each gradient stop defines a color transition point in a gradient fill or line.
int Count { get; }
ReadOnly Property Count As Integer
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 80);
IFillFormat fill = shape.Fill;
fill.TwoColorGradient(GradientStyle.Horizontal, 1);
IGradientStops stops = fill.GradientStops;
int count = stops.Count;