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

# CreatePoint Method of the Engine Object

This method creates the [Point](/fine-reader/engine/api-reference/supplementary-objects-and-methods/point) object representing the point with the specified coordinates.

## Syntax

### C++

```cpp theme={null}
HRESULT CreatePoint(
  int     X,
  int      Y,
  IPoint** Result
);
```

### C\#

```csharp theme={null}
Point CreatePoint(
  int X,
  int Y
);
```

### Visual Basic .NET

```vb theme={null}
Function CreatePoint( _
  [X As Integer = 0], _
  [Y As Integer = 0] _
) As Point
```

## Parameters

X

\[in] This parameter specifies the horizontal coordinate of the point. It is optional, and if you do not specify it, the horizontal coordinate will be equal to 0.

Y

\[in] This parameter specifies the vertical coordinate of the point. It is optional, and if you do not specify it, the vertical coordinate will be equal to 0.

Result

\[out, retval] A pointer to IPoint\* pointer variable that receives the interface pointer of the resulting [Point](/fine-reader/engine/api-reference/supplementary-objects-and-methods/point) object. Must not be NULL.

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

[Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface)

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