SpreadJS Documentation
getAutoFitHeight Method
The cell's value.
The cell's text.
The cell's actual value.
The current sheet's zoom factor.
The context associated with the cell type. See the Remarks for more information.
Gets a cell's height that can be used to handle the row's automatic fit.
Syntax
var instance = new GcSpread.Sheets.BaseCellType();
var returnValue; // Type: number
returnValue = instance.getAutoFitHeight(value, text, cellStyle, zoomFactor, context);
function getAutoFitHeight( 
   value : object,
   text : string,
   cellStyle : Style,
   zoomFactor : number,
   context : object
) : number;

Parameters

value
The cell's value.
text
The cell's text.
cellStyle
The cell's actual value.
zoomFactor
The current sheet's zoom factor.
context
The context associated with the cell type. See the Remarks for more information.

Return Value

Returns the cell's height that can be used to handle the row's automatic fit.
See Also

Reference

BaseCellType type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.