Class: TextLine

PSPDFKit.TextLine

A line of text displayed at a specific bounding box in the PDF file.

You can retrieve text lines using PSPDFKit.Instance#textLinesForPageIndex.

Extends

  • Immutable.Record

Members




Members

boundingBox: PSPDFKit.Geometry.Rect

Position of this text line on the page.

Type:

contents: string

Content of the text line.

Text lines end with CRLF (\r\n).

Type:
  • string

id: number

Am ID that is unique inside one page to reference the text line across the document.

Type:
  • number

pageIndex: number

The page index on which the text line is placed.

pageIndex is zero-based and has a maximum value of totalPageCount - 1.

Type:
  • number