SpreadJS 13
GC.Spread.Sheets.Shapes Namespace / ShapeBase type / endRowOffset Method
The offset relative to the end row of the shape.
In This Topic
    endRowOffset Method
    In This Topic
    Gets or sets the offset relative to the end row of the shape.
    Syntax
    var instance = new GC.Spread.Sheets.Shapes.ShapeBase();
    var returnValue; // Type: any
    returnValue = instance.endRowOffset(value);
    function endRowOffset( 
       value : number
    ) : any;

    Parameters

    value
    The offset relative to the end row of the shape.

    Return Value

    If no value is set, returns the offset relative to the end row of the shape.
    Example
    var heart = sheet.shapes.add("Shape1", GC.Spread.Sheets.Shapes.AutoShapeType.heart, 100, 60, 200, 160);
    var n = heart.endRowOffset();
    heart.endRowOffset(0);
    See Also

    Reference

    ShapeBase type