[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFillFormat.Type

Type Property

Type

Returns the fill type.

Use this method to determine which kind of fill is currently applied to the object, such as solid, patterned, gradient, textured, picture, or group fill.

Declaration
FillType Type { get; }
ReadOnly Property Type As FillType
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.Solid();
FillType fillType = fillFormat.Type;