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

    Parameters

    value
    The vertical location of the shape specified by a number or formula (starts with =) can get a number value.
    Example
    var heart = sheet.shapes.add("Shape1", GC.Spread.Sheets.Shapes.AutoShapeType.heart, 100, 60, 200, 160);
    var n = heart.y();
    heart.y(n + 50);
    See Also

    Reference

    ShapeBase type