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

# ExportFileWriter Object (IExportFileWriter Interface)

<Warning>
  This object is deprecated and will be removed in future versions.
</Warning>

This object provides functionality for the export of the recognized information into PDF files. While the [Export](/fine-reader/engine/api-reference/document-related-objects/frdocument/export-method) method of the [FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument) object exports the whole recognized information simultaneously, the ExportFileWriter object provides methods that allow you to export the document in batches of pages. You can export one page or several pages at a time.

<Warning>
  If the exported pages have been obtained via the [FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument) object, they must all belong to the same document. If you try to export the pages from different FRDocument objects an error will occur.
</Warning>

* The exported PDF file will not be accessible until the [Close](/fine-reader/engine/api-reference/mechanism-objects/exportfilewriter/close-method) method is called.

## Properties

| Name        | Type                                                                                                                                                                                                          | Description                |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
| Application | [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface), [read-only](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties) | Returns the Engine object. |

## Methods

| Name                                                                                             | Description                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [AddPage](/fine-reader/engine/api-reference/mechanism-objects/exportfilewriter/addpage-method)   | Saves recognized text of a single page into a file in PDF format.   |
| [AddPages](/fine-reader/engine/api-reference/mechanism-objects/exportfilewriter/addpages-method) | Saves recognized text from several pages into a file in PDF format. |
| [Close](/fine-reader/engine/api-reference/mechanism-objects/exportfilewriter/close-method)       | Finalizes the exported PDF document.                                |

## Output parameter

This object is the output parameter of the [CreateExportFileWriter](/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createexportfilewriter-method) method of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object.

## See also

[IEngine::CreateExportFileWriter](/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createexportfilewriter-method)
