# TextLineResultItem

The `TextLineResultItem` class represents a single text line result item recognized by the library. It is derived from `CapturedResultItem` and is one of the base items of `RecognizedTextLinesResult`.

## Definition

*Namespace:* Dynamsoft.LabelRecognizer.Maui

*Assembly:* Dynamsoft.LabelRecognizer.Maui

```csharp
public class TextLineResultItem : CapturedResultItem
```

*Inheritance:* [CapturedResultItem](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/maui/api-reference/core/captured-result-item.md) -> TextLineResultItem

## Properties

| Property | Type | Description |
| --------- | ---- | ----------- |
| [`Text`](#text) | *String* | Returns the text content of the text line. |
| [`Location`](#location) | *Quadrilateral* | Returns the location of the text line in the form of a quadrilateral. |
| [`Confidence`](#confidence) | *int* | Returns the confidence of the text line recognition result. |
| [`CharacterResults`](#characterresults) | *CharacterResult[]* | Get all the characters in the text line. Each character is represented by a [`CharacterResult`](https://www.dynamsoft.com/label-recognition/docs/mobile/programming/maui/api-reference/character-result.md) object. |
| [`SpecificationName`](#specificationname) | *String* | Returns the name of the [`TextLineSpecification`](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/text-line-specification/index.md) object that generated this `TextLineResultItem`. |

### Text

Returns the text content of the individual text line.

```csharp
string Text { get; }
```

### Location

It is used to get the location of the text line in the form of a [Quadrilateral](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/maui/api-reference/core/quadrilateral.md).

```csharp
Quadrilateral Location { get; }
```

### Confidence

Returns the confidence of the individual text line recognition result.

```csharp
int Confidence { get; }
```

### CharacterResults

Returns all the characters in the text line. Each character is represented by a [`CharacterResult`](https://www.dynamsoft.com/label-recognition/docs/mobile/programming/maui/api-reference/character-result.md) object.

```csharp
CharacterResult[] CharacterResults { get; }
```

### SpecificationName

Returns the name of the [`TextLineSpecification`](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/text-line-specification/index.md) object that generated this `TextLineResultItem`.

```csharp
String SpecificationName { get; }
```
