-
-
Notifications
You must be signed in to change notification settings - Fork 41
setHeader
Julian Halliwell edited this page Feb 25, 2015
·
6 revisions
Adds a header to a spreadsheet which will display when printed. Text can be provided for the left, centre and right of the header.
setHeader( workbook[, leftHeader, centerHeader, rightHeader ] )
##Required arguments
-
workbookspreadsheet object
##Optional arguments
-
leftHeaderstring: text to place on the left hand side of the header. -
centerHeaderstring: text to place in the centre of the header. -
rightHeaderstring: text to place on the right of the header.
##Example
spreadsheet = New spreadsheet();
workbook = spreadsheet.new();
spreadsheet.setHeader( workbook=workbook,centerHeader="ACME Ltd" );