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