-
-
Couldn't load subscription status.
- Fork 39
setColumnWidth
Julian Halliwell edited this page Sep 20, 2021
·
5 revisions
Sets the width of a column.
setColumnWidth( workbook, column, width )
-
workbookspreadsheet object -
columnnumeric -
widthnumeric: desired number of characters wide (normally based on the character0in the default font).
Chainable? Yes.
data = QueryNew( "First,Last", "VarChar,VarChar", [ [ "Susi","Sorglos" ], [ "Frumpo","McNugget" ] ] );
spreadsheet = New spreadsheet();
workbook = spreadsheet.workbookFromQuery( data );
spreadsheet.setColumnWidth( workbook, 1, 50 );