# SpreadsheetGetPrintOrientation

Retrieves the print orientation of a spreadsheet.

## Method Signature

```
SpreadsheetGetPrintOrientation(spreadsheetObj=[any])
```

### Arguments

| Argument         | Type  | Required | Description             | Default |
| ---------------- | ----- | -------- | ----------------------- | ------- |
| `spreadsheetObj` | `ANY` | `true`   | The spreadsheet object. |         |

## Examples

Get print orientation:

```js
// Check current print orientation
var spreadsheet = SpreadsheetNew();
var orientation = SpreadsheetGetPrintOrientation( spreadsheet );
println( "Orientation: " & orientation );
```

## Related

* [SpreadsheetSetPrintOrientation()](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-spreadsheet/reference/built-in-functions/spreadsheetsetprintorientation) - Set orientation
* [SpreadsheetSetHeader()](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-spreadsheet/reference/built-in-functions/spreadsheetsetheader) - Set header
