[]
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.
ShapeType Type { get; }
ReadOnly Property Type As ShapeType
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
ShapeType type = shape.Type;