[]
Returns the gradient degree of the specified one-color shaded fill as a floating-point value from 0.0 (dark) through 1.0 (light).
Use this property to retrieve the shading intensity that was applied by OneColorGradient(GradientStyle, int, double).
double GradientDegree { get; }
ReadOnly Property GradientDegree As Double
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.OneColorGradient(GradientStyle.DiagonalDown, 2, 0.5);
double degree = fillFormat.GradientDegree;