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

Parameters

value
The starting row index of the shape position.

Return Value

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

Reference

ShapeBase type