GC.Spread.Sheets.CellTypes Namespace > Base type : getAutoFitWidth Method |
var instance = new GC.Spread.Sheets.CellTypes.Base(); var returnValue; // Type: number returnValue = instance.getAutoFitWidth(value, text, cellStyle, zoomFactor, context);
The context parameter can include the following items:
Item | Type | Description |
context.sheet | GC.Spread.Sheets.Sheet instance | Indicates the current sheet. |
context.row | number | The row index. |
context.col | number | The column index. |
context.sheetArea | GC.Spread.Sheets.SheetArea | The current sheet area. |