var instance = new GC.Spread.Sheets.CellTypes.Base(); var returnValue; // Type: number returnValue = instance.getAutoFitHeight(value, text, cellStyle, zoomFactor, context);
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.