[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFillFormat.GradientStyle

GradientStyle Property

GradientStyle

Returns the gradient style for the specified fill.

Declaration
GradientStyle GradientStyle { get; }
ReadOnly Property GradientStyle As GradientStyle
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.TwoColorGradient(GradientStyle.FromCenter, 1);
GradientStyle style = fillFormat.GradientStyle;