SpreadJS Documentation
all Method
GC.Spread.Sheets.Shapes Namespace > GroupShape type : all Method
get all shapes of group shape.
Syntax
var instance = new GC.Spread.Sheets.Shapes.GroupShape(worksheet, name);
var value; // Type: any
value = instance.all();
function all() : any;

Return Value

all shapes
Example
// This sample shows how to get all shapes in group shape.
var shape1 = sheet.shapes.add("myShape1", GC.Spread.Sheets.Shapes.AutoShapeType.rectangle, 62 * 9, 0, 200, 200);
var shape2 = sheet.shapes.add("myShape2", GC.Spread.Sheets.Shapes.AutoShapeType.rectangle, 20, 20, 200, 200);
var groupShape = sheet.shapes.group([shape1, shape2]);
var shapes = groupShape.all();
See Also

Reference

GroupShape type