> ## 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.

# PDFExportModeEnum

> PDFExportModeEnum in the ABBYY FineReader Engine API — Modes of export into PDF format (text with pictures, text on image, etc.).

PDFExportModeEnum enumeration constants are used to set the mode of export into PDF format.

```
typedef enum {
 PEM_TextWithPictures,
 PEM_TextOnImage,
 PEM_ImageOnText,
 PEM_ImageOnly,
 PEM_TextOnly
} PDFExportModeEnum;
```

## Elements

| Name | Description |
| - | - |
| PEM\\\_ImageOnly | The entire image is saved as a picture. The recognized text and layout information are not used in this mode, so the recognition stage may be skipped. <br /><br /> **Note:** *If you export to PDF format with MRC compression in PEM\\\_ImageOnly mode, it is recommended to set [IPageAnalysisParams::CollectPdfExportData](/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/pageanalysisparams#collectpdfexportdata) to TRUE.* |
| PEM\\\_ImageOnText | The image without text is saved as a picture. The recognized text is saved as text and is put under the image. This option is useful if you export your text to document archives: the full page layout is retained and the full-text search is available if you save in this mode. |
| PEM\\\_TextOnImage | The image without text is saved as a picture. The recognized text is saved as text and is put over the image. |
| PEM\\\_TextOnly | The recognized text is saved as text. Pictures are not saved. If this mode is used, the values of the BwPictureFormats, ColorPictureFormats, and GrayPictureFormats properties of the [PDFPictureCompressionParams](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfpicturecompressionparams) subobject are ignored. |
| PEM\\\_TextWithPictures | The recognized text is saved as text, and the pictures are saved as pictures. |

## Used in

[IPDFExportParams::TextExportMode](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#textexportmode)
