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

# ApplyImageEnhancementProfile Method of the Document Object

This method applies specified image enhancement profile to the page of the document.

> [!NOTE]
>
> During the image enhancement one page can be split into several separate pages .

```vb Visual Basic .NET theme={null}
Sub ApplyImageEnhancementProfile( _
  Page As Page, _
  Profile As ImageEnhancementProfile _
)
```

```cpp C++ theme={null}
HRESULT ApplyImageEnhancementProfile(
  IPage*                  Page,
  IImageEnhancementProfile*    Profile
);
```

## Parameters

**Page**

\[in] This parameter refers to the [**Page**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/page.md) object that represents the page of the document to which the image enhancement profile should be applied.

**Profile**

\[in] A pointer to the [**ImageEnhancementProfile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageenhancementprofile.md) object which stores the image enhancement profile that should be applied.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

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