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

# RemoveGeometricalDistortions Method of the ImageDocument Object

This method removes the geometrical distortions of the image (such as curving lines near the edge of a page).

## Syntax

### C++

```cpp theme={null}
HRESULT RemoveGeometricalDistortions();
```

### C\#

```csharp theme={null}
void RemoveGeometricalDistortions();
```

### Visual Basic .NET

```vb theme={null}
Sub RemoveGeometricalDistortions()
```

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[ImageDocument](/fine-reader/engine/api-reference/image-related-objects/imagedocument)
