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

# PageAnalysisParams Object (IPageAnalysisParams Interface)

This object provides access to parameters used for tuning the page layout analysis process. You can configure document analysis using the [**PageAnalysisParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinition.md#pageanalysisparams) property of the [**DocumentDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinition.md) object.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **CachePrerecognitionResults** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | This property set to TRUE tells ABBYY FlexiCapture SDK to cache prerecognition results to speed up some operations. The default value of this property is FALSE. |
| **DetectClockwiseOrientation** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | If this property is set to TRUE, the page orientation is detected during layout analysis, and if the image is rotated clockwise from its normal orientation, ABBYY FlexiCapture SDK automatically rotates the image. The default value of this property is FALSE. |
| **DetectCounterclockwiseOrientation** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | If this property is set to TRUE, the page orientation is detected during layout analysis, and if the image is rotated counterclockwise from its normal orientation, ABBYY FlexiCapture SDK automatically rotates the image. The default value of this property is FALSE. |
| **DetectUpsidedownOrientation** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | If this property is set to TRUE, the page orientation is detected during layout analysis, and if it is upside down, ABBYY FlexiCapture SDK automatically rotates the image. The default value of this property is FALSE. |
| **MaxHorizontalShrinkPercent** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Specifies the maximum percentage of Document Definition shrinking by width. By default the value of this property is 10%. |
| **MaxHorizontalStretchPercent** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Specifies the maximum percentage of Document Definition stretching by width. By default the value of this property is 10%. |
| **MaxVerticalShrinkPercent** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Specifies the maximum percentage of Document Definition shrinking by height. By default the value of this property is 10%. |
| **MaxVerticalStretchPercent** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Specifies the maximum percentage of Document Definition stretching by height. By default the value of this property is 10%. |
| **PrescaleOnAnchors** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | This property set to TRUE enables image scaling using anchors. The default value of this property is TRUE. |
| **PrescaleOnText** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | This property set to TRUE enables image scaling using text lines. The default value of this property is FALSE. |
| **VerticalScanned** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | This property set to TRUE tells ABBYY FlexiCapture SDK to use special algorithms to despeckle vertical scanned images. The default value of this property is TRUE. |

## Methods

| **Name** | **Description** |
| - | - |
| [**CopyFrom**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/copyfrom.md) | Initializes properties of the current object with values of similar properties of another object. |

## Related objects

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/PageAnalysisParams.gif?s=086828367576f685cc928e1b1afc97d0)

## Output parameter

This object is the output parameter of the [**CreatePageAnalysisParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-createxxx.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object.

## See also

[**DocumentDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinition.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
