Gets a cell's height that can be used to handle the row's automatic fit.
var instance = new GcSpread.Sheets.BaseCellType();
var returnValue; // Type: number
returnValue = instance.getAutoFitHeight(value, text, cellStyle, zoomFactor, context);
function getAutoFitHeight(
: object,
: string,
: Style,
: number,
: 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.