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

# SmoothTexture Method of the ImageDocument Object

This method smoothes the image using a nonlinear filter, preserving the sharp edges. The method is useful for images with texture.

<Warning>
  This method can be used only for gray and color images which measure no less than 3 pixels in each dimension.
</Warning>

## Syntax

### C++

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

### C\#

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

### Visual Basic .NET

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

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