SpreadJS Documentation
endRow Method
GC.Spread.Sheets.Shapes Namespace > ShapeBase type : endRow Method
The end row index of the shape position.
Gets or sets the end row index of the shape position.
Syntax
var instance = new GC.Spread.Sheets.Shapes.ShapeBase();
var returnValue; // Type: any
returnValue = instance.endRow(value);
function endRow( 
   value : number
) : any;

Parameters

value
The end row index of the shape position.

Return Value

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

Reference

ShapeBase type