-
-
Notifications
You must be signed in to change notification settings - Fork 36
readBinary
Julian Halliwell edited this page Sep 20, 2021
·
4 revisions
Returns the contents of a spreadsheet object as a byte array.
readBinary( workbook )
-
workbook
spreadsheet object
Chainable? Yes but ends the chain.
data = QueryNew( "First,Last","VarChar,VarChar",[ [ "Susi","Sorglos" ],[ "Frumpo","McNugget" ] ] );
spreadsheet = New spreadsheet();
workbook = spreadsheet.workbookFromQuery( data );
//create a binary variable ready for downloading
binary = spreadsheet.readBinary( workbook );