SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / shapes Field
In This Topic
    shapes Field
    In This Topic
    Shape manager for the sheet.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: ShapeCollection
    value = instance.shapes;
    var shapes : ShapeCollection;
    Example
    //This example shows how to add a shape.
    var shape = activeSheet.shapes.add("shape1", GC.Spread.Sheets.Shapes.AutoShapeType.heart, 100, 50, 100, 150);
    See Also

    Reference

    Worksheet type