Sets the print orientation of the active sheet in a spreadsheet workbook to landscape or portrait. Any other value resets the orientation to the default. The fluent member form is setPrintOrientation(orientation).
spreadsheetSetPrintOrientation(spreadsheetObj, orientation)
→ returns any
landscapeportraitSet the active sheet to print landscape.
wb = Spreadsheet("xlsx");
spreadsheetSetPrintOrientation(wb, "landscape");
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.