# TextLineFragment

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / TextLineFragment

# Type Alias: TextLineFragment

> **TextLineFragment** = `object`

Represents a range of characters in a text line.

## Properties

### length

> **length**: `number`

The number of text char in this fragment.
A value of <b>-1</b> indicates that this fragment includes all characters
from 'startIndex' to the end of the line.

***

### lineIndex

> **lineIndex**: `number`

The index of the text line in the text map.

***

### startIndex

> **startIndex**: `number`

The index of the first char in the text line.
