[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IRectangularGradient.Top

Top Property

Top

Gets or sets the convergence position of the rectangular gradient fill at the top.

Use this property to read the top convergence setting of a rectangular gradient fill.

Declaration
double Top { get; set; }
Property Top As Double
Examples
IRange cell = worksheet.Range["A1"];
cell.Interior.Pattern = Pattern.RectangularGradient;
IRectangularGradient gradient = (IRectangularGradient) cell.Interior.Gradient;
gradient.Top = 0.2;
double top = gradient.Top;