spreadsheetGetPrintOrientation

Returns the print orientation of the sheet: landscape or portrait.

spreadsheetGetPrintOrientation(spreadsheetObj) → returns string

This function requires Adobe ColdFusion 2025 and up.  Not supported on Lucee, etc.

Argument Reference

spreadsheetObj any
Required

The spreadsheet object.

Examples
Sample code invoking the spreadsheetGetPrintOrientation function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub