PdfPageTextContent


class PdfPageTextContent : PdfPageContent


Represents a continuous stream of text in a page of a PDF document in the order of viewing.

Summary

Public constructors

PdfPageTextContent(bounds: List<RectF>, text: String)

Public properties

String

: Text content within the bounds.

Inherited properties

From androidx.pdf.content.PdfPageContent
List<RectF>

: A list of rectangles defining the content's bounding boxes in PDF coordinates.

Public constructors

PdfPageTextContent

PdfPageTextContent(bounds: List<RectF>, text: String)
Parameters
bounds: List<RectF>

: Bounds for the text content

text: String

: Text content within the bounds.

Public properties

text

Added in 1.0.0-alpha11
val textString

: Text content within the bounds.