-
-
Notifications
You must be signed in to change notification settings - Fork 36
setSheetTopMargin
Julian Halliwell edited this page Sep 20, 2021
·
2 revisions
Set the print top margin. Applies to the currently active sheet by default.
setSheetTopMargin( workbook, marginSize[, sheetName[, sheetNumber] ] )
-
workbook
spreadsheet object -
marginSize
numeric: size in inches
-
sheetName
string: the name of the sheet to apply the orientation mode to OR -
sheetNumber
numeric: the number (1 based, not zero-based) of the sheet to apply the orientation mode to
Chainable? Yes.
spreadsheet = New spreadsheet();
workbook = spreadsheet.workbookFromQuery( data );
spreadsheet.createSheet( workbook, "test" );
spreadsheet.setSheetTopMargin( workbook, 1.5 );