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

# SetPoint Method of the Point Object

This method allows you to set the coordinates of the point.

## Syntax

### C++

```cpp theme={null}
HRESULT SetPoint(
  int X,
  int Y
);
```

### C\#

```csharp theme={null}
void SetPoint(
  int X,
  int Y
);
```

### Visual Basic .NET

```vb theme={null}
Sub SetPoint(X As Integer, Y As Integer)
```

## Parameters

X

\[in] Contains the horizontal coordinate of the point in pixels. The coordinates are relative to the document image.

Y

\[in] Contains the vertical coordinate of the point in pixels. The coordinates are relative to the document image.

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

[Point](/fine-reader/engine/api-reference/supplementary-objects-and-methods/point)
