> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PageOrientationEnum

PageOrientationEnum enumeration constants are used to set page orientation during export in PDF/RTF/DOCX/ODT or XLSX format.

```
typedef enum {
 POM_Portrait,
 POM_Landscape,
 POM_Auto,
 POM_MostFrequent
} PageOrientationEnum;
```

## Elements

| Name                | Description                                                                                                                             |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| POM\\\_Auto         | The orientation is detected automatically.                                                                                              |
| POM\\\_Landscape    | Sets landscape orientation.                                                                                                             |
| POM\\\_MostFrequent | Sets orientation that is the most frequently used in the document. <br /><br /> **Note:** *The value is not available for XLSX format.* |
| POM\\\_Portrait     | Sets portrait orientation.                                                                                                              |

## Used in

[IRTFExportParams::PageOrientation](/fine-reader/engine/api-reference/parameter-objects/export-parameters/rtfexportparams#pageorientation)

[IXLExportParams::PageOrientation](/fine-reader/engine/api-reference/parameter-objects/export-parameters/xlexportparams#pageorientation)

[IPDFExportFeatures::PageOrientation](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pageorientation)
