var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: any value = instance.getColumnWidth(col, sheetArea, getDynamicSize);
function getColumnWidth( col : number, sheetArea : SheetArea, getDynamicSize : boolean ) : any;
Parameters
- col
- The column index.
- sheetArea
- The sheet area. If this parameter is not given, it defaults to viewport.
- getDynamicSize
- Whether get the dynamic size. If not given, it defaults to false. If this parameter is true, and dynamic size is not set, will return undefined.
Return Value
The column width in pixels or the dynamic size.