# TextLineResultItem

Interface `TextLineResultItem` 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

*Assembly:* dynamsoft-capture-vision-react-native

```js
interface TextLineResultItem extends CapturedResultItem
```

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

## Properties

| Property | Types | 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) | *List<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/react-native/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`. |
| [`rawText`](#rawtext) | *String* | Returns the recognized raw text, excluding any concatenation separators. |

### text

Returns the text content of the individual text line.

```js
text: string;
```

### 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/react-native/api-reference/core/quadrilateral.md).

```js
location: Quadrilateral;
```

### confidence

Returns the confidence of the individual text line recognition result.

```js
confidence: number;
```

### 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/react-native/api-reference/character-result.md) object.

```js
characterResults: CharacterResult[];
```

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

```js
specificationName:string;
```

### rawText

Returns the recognized raw text, excluding any concatenation separators.

```js
rawText: string;
```
