-
-
Notifications
You must be signed in to change notification settings - Fork 39
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] ] )
-
workbook
spreadsheet object
-
sheetName
string: the name of the sheet OR -
sheetNumber
numeric: 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" );