setSheetFooterMargin - cfsimplicity/spreadsheet-cfml GitHub Wiki
Set the print footer margin. Applies to the currently active sheet by default.
setSheetFooterMargin( workbook, marginSize[, sheetName[, sheetNumber] ] )
Required arguments
workbook
spreadsheet objectmarginSize
numeric: size in inches
Optional arguments
sheetName
string: the name of the sheet to apply the orientation mode to ORsheetNumber
numeric: the number (1 based, not zero-based) of the sheet to apply the orientation mode to
Chainable? Yes.
Example
spreadsheet = New spreadsheet();
workbook = spreadsheet.workbookFromQuery( data );
spreadsheet.createSheet( workbook, "test" );
spreadsheet.setSheetFooterMargin( workbook, 1.5 );