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

# DocumentProcessingParams Object (IDocumentProcessingParams Interface)

> DocumentProcessingParams object (IDocumentProcessingParams interface) in the ABBYY FineReader Engine API — Aggregates all parameters that affect document processing (page processing plus document-synthesis parameters); passed to document processing methods; persistent object savable to file/memory.

This object provides access to all parameters that affect document processing including all parameters of page processing and synthesis parameters for document. This object is passed as a parameter to the document processing methods.

The DocumentProcessingParams object is a persistent object. This means that the object's current state can be written to persistent storage. Later, the object can be re-created by reading the object's state from the persistent storage. The following methods provide persistence of the object:

Linux: [SaveToFile](/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetofile-method), and [LoadFromFile](/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfromfile-method)

Windows [SaveToFile](/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetofile-method), [LoadFromFile](/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfromfile-method), [SaveToMemory](/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetomemory-method), and [LoadFromMemory](/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfrommemory-method).

## Properties

| Name                       | Type                                                                                                                                                                     | Description                                                                                                                                                          |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| PageProcessingParams       | [PageProcessingParams](/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/pageprocessingparams)             | Specifies the processing parameters for each page of the document.                                                                                                   |
| PerformSynthesis           | [VARIANT\_BOOL](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                         | Specifies if document synthesis is to be performed. If this property is FALSE, the SynthesisParamsForDocument property is ignored. This property is TRUE by default. |
| SynthesisParamsForDocument | [SynthesisParamsForDocument](/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/synthesisparamsfordocument) | Specifies the synthesis parameters for the document.                                                                                                                 |

## Methods

| Name                                                                                                                                               | Description                                                                                       |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [CopyFrom](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/copyfrom-method)                              | Initializes properties of the current object with values of similar properties of another object. |
| [LoadFromFile](/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfromfile-method)                                            | Restores the object contents from a file on disk.                                                 |
| [LoadFromMemory](/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfrommemory-method) <br /><br /> **Note:** *Windows only.* | Restores the object contents from the global memory.                                              |
| [SaveToFile](/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetofile-method)                                                | Saves the object contents into a file on disk.                                                    |
| [SaveToMemory](/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetomemory-method) <br /><br /> **Note:** *Windows only.*     | Saves the object contents into the global memory.                                                 |

## Related objects

<img src="https://mintcdn.com/abbyy/lsETHFYUFiongXSm/images/fine-reader/engine/documentprocessingparams.gif?s=b261aaa8d51495aa3d9e785d6a347072" alt="DocumentProcessingParams" width="250" height="130" data-path="images/fine-reader/engine/documentprocessingparams.gif" />[](/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/synthesisparamsfordocument)[](/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/pageprocessingparams)

[Object Diagram](/fine-reader/engine/api-reference/object-diagram)

## Output parameter

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

## Input parameter

This object is passed as an input parameter to the following methods:

* [Process](/fine-reader/engine/api-reference/document-related-objects/frdocument/process-method), [ProcessPages](/fine-reader/engine/api-reference/document-related-objects/frdocument/processpages-method) methods of the [FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument) object
* [RecognizeImageFile](/fine-reader/engine/api-reference/engine-object-iengine-interface/processing-methods/recognizeimagefile-method), [InjectTextLayer](/fine-reader/engine/api-reference/engine-object-iengine-interface/processing-methods/injecttextlayer-method) methods of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object

## Related Visual Components

<img src="https://mintcdn.com/abbyy/lsETHFYUFiongXSm/images/fine-reader/engine/documentprocessingparams_vc.gif?s=5e2978e353fde8cbc1b860bac95abda0" alt="DocumentProcessingParams_VC" width="261" height="101" data-path="images/fine-reader/engine/documentprocessingparams_vc.gif" />[](/fine-reader/engine/visual-components-reference/imageviewer)[](/fine-reader/engine/visual-components-reference/zoomviewer)[](/fine-reader/engine/visual-components-reference/supplementary-objects/componentsynchronizer)[](/fine-reader/engine/visual-components-reference/documentviewer)

## Samples

<Accordion title="C# code">
  ```csharp theme={null}
  FREngine.IEngine engine;
  FREngine.IFRDocument frdoc;
  // We presume that the document has been created and images have been added to the document
  // Create DocumentProcessingParams and set parameters
  FREngine.IDocumentProcessingParams dpp = engine.CreateDocumentProcessingParams();
  FREngine.IPageProcessingParams ppp = dpp.PageProcessingParams;
  ppp.PagePreprocessingParams.CorrectOrientationMode = COM_No;
  // Use the parameters for processing
  frDoc.Process( dpp );
  ```
</Accordion>

The object is used in the following code samples:

* Linux: [CustomLanguage](/fine-reader/engine/guided-tour/samples#customlanguage)
* Windows: [CustomLanguage](/fine-reader/engine/guided-tour/samples#customlanguage), [VisualComponents](/fine-reader/engine/guided-tour/samples#visualcomponents) (Win); and demo tools: [MultiProcessingRecognition](/fine-reader/engine/guided-tour/samples#multiprocessingrecognition), [PDFExportProfiles](/fine-reader/engine/guided-tour/samples#pdfexportprofiles).

## See also

[Tuning Parameters of Preprocessing, Analysis, Recognition, and Synthesis](/fine-reader/engine/guided-tour/advanced-techniques/tuning-parameters-of-preprocessing-analysis-recognition-and-synthesis)

[Working with Properties](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
