SpreadJS 13
GC.Spread.Sheets.Shapes Namespace / ShapeBase type / height Method
The height of the shape specified by a number or formula (starts with =) can get a number value.
In This Topic
    height Method
    In This Topic
    Gets or sets the height of the shape.
    Syntax
    var instance = new GC.Spread.Sheets.Shapes.ShapeBase();
    var returnValue; // Type: any
    returnValue = instance.height(value);
    function height( 
       value : undefined
    ) : any;

    Parameters

    value
    The height of the shape specified by a number or formula (starts with =) can get a number value.

    Return Value

    If no value is set, returns the height of the shape.
    Example
    var heart = sheet.shapes.add("Shape1", GC.Spread.Sheets.Shapes.AutoShapeType.heart, 100, 60, 200, 160);
    var n = heart.height();
    heart.height(n + 50);
    See Also

    Reference

    ShapeBase type