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

# GetLine Method of the MrzData Object

This method returns the line by index.

## Syntax

### C++

```cpp theme={null}
HRESULT GetLine(
   int         Index,
   IMrzLine** Result
);
```

### C\#

```csharp theme={null}
IMrzLine GetLine( int Index );
```

### Visual Basic .NET

```vb theme={null}
Function GetLine(Index As Integer) As IMrzLine
```

## Parameters

Index

\[in] Specifies the index of the line.

Result

\[out, retval] A pointer to IMrzLine\* pointer variable that receives the interface pointer of the output [MrzLine](/fine-reader/engine/api-reference/document-related-objects/mrzline) object.

## Return values

This function 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

[MrzData](/fine-reader/engine/api-reference/document-related-objects/mrzdata)

[MrzLine](/fine-reader/engine/api-reference/document-related-objects/mrzline)
