[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Type

Type Property

Type

Returns the shape type.

Use this property to determine the general category of the shape, such as preset shape (AutoShape), Chart, Picture, TextBox, or Line.

Declaration
ShapeType Type { get; }
ReadOnly Property Type As ShapeType
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
ShapeType type = shape.Type;