[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFillFormat.GradientStops

GradientStops Property

GradientStops

Returns the collection of gradient stops for the gradient fill.

Declaration
IGradientStops GradientStops { get; }
ReadOnly Property GradientStops As IGradientStops
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.TwoColorGradient(GradientStyle.Horizontal, 1);
IGradientStops gradientStops = fillFormat.GradientStops;
gradientStops[0].Color.RGB = Color.Blue;