# RecognizedTextLinesResult

The `RecognizedTextLinesResult` class represents the result of a text recognition process. It provides access to information about the recognized text lines, the original image, and any errors that occurred during the recognition process.

## Definition

*Namespace:* Dynamsoft.DLR

*Inheritance:* [CapturedResultBase](https://www.dynamsoft.com/capture-vision/docs/server/programming/dotnet/api-reference/core/basic-classes/captured-result-base.md) -> RecognizedTextLinesResult


```csharp
public class RecognizedTextLinesResult : CapturedResultBase, IEnumerable<TextLineResultItem>
```

## Methods

| Method               | Description |
|----------------------|-------------|
| [`GetItems`](#getitems) | Gets all the text line result items. |
| [`GetItemsCount`](#getitemscount) | Gets the number of text line result items in current result object. |
| [`GetItem`](#getitem) | Gets a specific text line result item. |

### GetItems

Gets all the text line result items.

```csharp
TextLineResultItem GetItems()
```

**Return Value**

Returns a `TextLineResultItem` array.

**See Also**

[TextLineResultItem](https://www.dynamsoft.com/label-recognition/docs/server/programming/dotnet/api-reference/text-line-result-item.md)

### GetItemsCount

Gets the number of text line result items in current result object.

```csharp
int GetItemsCount()
```

**Return value**

Returns the number of text line result items in current result object.

### GetItem

Gets a specific text line result item.

```csharp
TextLineResultItem GetItem(int index)
```

**Parameters**

`[in] index` The index of specific text line result item.

**Return value**

Returns the specific text line result item.

**See Also**

[TextLineResultItem](https://www.dynamsoft.com/label-recognition/docs/server/programming/dotnet/api-reference/text-line-result-item.md)
