-
-
Notifications
You must be signed in to change notification settings - Fork 40
getSheetPrintOrientation
Julian Halliwell edited this page Apr 16, 2025
·
1 revision
Returns the print orientation of the currently active or specified sheet.
getSheetPrintOrientation( workbook, [, sheetName[, sheetNumber] ] )
-
workbookspreadsheet object
-
sheetNamestring: the name of the sheet OR -
sheetNumbernumeric: the number (1 based, not zero-based) of the sheet
string: either "portrait" or "landscape"
Chainable? No.
spreadsheet = New spreadsheet();
workbook = spreadsheet.workbookFromQuery( data );
spreadsheet.createSheet( workbook, "test" );
result = spreadsheet.getSheetPrintOrientation( workbook, "test" );