[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Fill

Fill Property

Fill

Returns the IFillFormat object that contains fill formatting properties for the specified chart or shape.

Use the returned IFillFormat object to configure fill settings such as solid fill, gradient fill, pattern, texture, color, and transparency.

Declaration
IFillFormat Fill { get; }
ReadOnly Property Fill As IFillFormat
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
IFillFormat fill = shape.Fill;
fill.Solid();
fill.Color.RGB = Color.Blue;