[]
Gets or sets the angle of the linear gradient fill within a selection.
Use this property to get or set the direction of the ILinearGradient transition.
double Degree { get; set; }
Property Degree As Double
IRange range = worksheet.Range["A1"];
range.Interior.Pattern = Pattern.LinearGradient;
ILinearGradient gradient = (ILinearGradient) range.Interior.Gradient;
gradient.Degree = 45;
double degree = gradient.Degree;