var instance = new GC.Spread.Sheets.CellTypes.Base(); var returnValue; // Type: number returnValue = instance.getAutoFitWidth(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 width that can be used to handle the column's automatic fit.