var instance = new GC.Spread.Sheets.Shapes.ShapeCollection(sheet); var value; // Type: Shape value = instance.add(name, autoShapeTypeOrModel, left, top, width, height);
Parameters
- name
- The name of the shape. If leave blank an unique name will be generated.
- autoShapeTypeOrModel
- The type of the shape (for one of the buildin types) or the model for custom shape.
- left
- The x location of the shape.
- top
- The y location of the shape.
- width
- The width of the shape.
- height
- The height of the shape.