[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFillFormat.GradientPathType

GradientPathType Property

GradientPathType

Gets or sets the path type for the gradient fill.

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