Spread.Sheets Documentation
getRowHeight Method
The row index.
The sheet area. If this parameter is not given, it defaults to viewport.
Gets the height in pixels for the specified row in the specified sheet area.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: number
value = instance.getRowHeight(row, sheetArea);
function getRowHeight( 
   row : number,
   sheetArea : SheetArea
) : number;

Parameters

row
The row index.
sheetArea
The sheet area. If this parameter is not given, it defaults to viewport.

Return Value

The row height in pixels.
Example
This example returns the height for the specified row.
var rheight = activeSheet.getRowHeight(1,GC.Spread.Sheets.SheetArea.viewport);
alert(rheight);
Remarks
The default value is 20 pixels.
See Also

Reference

Worksheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.