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

# IsEqualTo Method of the TextOrientation Object

This method allows you to check if the orientation is equal to the specified orientation.

## Syntax

### C++

```cpp theme={null}
HRESULT IsEqualTo(
  ITextOrientation* Orientation,
  VARIANT_BOOL*     Result
);
```

### C\#

```csharp theme={null}
bool IsEqualTo( ITextOrientation Orientation );
```

### Visual Basic .NET

```vb theme={null}
Function IsEqualTo(Orientation As ITextOrientation) As Boolean
```

## Parameters

Orientation

\[in] This variable refers to the [TextOrientation](/fine-reader/engine/api-reference/text-related-objects/textorientation) object that is to be compared with the current object.

Result

\[out, retval] This variable contains the result of comparison. It returns TRUE, if the orientations are equal.

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

[TextOrientation](/fine-reader/engine/api-reference/text-related-objects/textorientation)
