-
-
Notifications
You must be signed in to change notification settings - Fork 36
setColumnWidth
Julian Halliwell edited this page Sep 20, 2021
·
5 revisions
Sets the width of a column.
setColumnWidth( workbook, column, width )
-
workbook
spreadsheet object -
column
numeric -
width
numeric: desired number of characters wide (normally based on the character0
in 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 );