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

# ChangeResolution Method of the ImageDocument Object

This method changes the resolution of the image. The size of the image in pixels remains unchanged.

## Syntax

Visual Basic .NET

```vb theme={null}
Sub ChangeResolution(NewResolution As Integer)
```

### C++

```cpp theme={null}
HRESULT ChangeResolution(
  int NewResolution
);
```

## Parameters

**NewResolution**

\[in] The parameter contains the new value of the resolution. Must be in range from 50 to 3200 dpi.

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

## Remarks

This operation cannot be applied to read-only image.

## See also

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