PdfTextRanges class

Text ranges in a PDF page typically used to describe text selection.

Constructors

PdfTextRanges({required PdfPageText pageText, required List<PdfTextRange> ranges})
Create a PdfTextRanges.
const
PdfTextRanges.createEmpty(PdfPageText pageText)
Create a PdfTextRanges with empty ranges.

Properties

bounds PdfRect
Bounds of the text ranges.
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Determine whether the text ranges are empty.
no setter
isNotEmpty bool
Determine whether the text ranges are NOT empty.
no setter
pageNumber int
Page number of the text ranges.
no setter
pageText PdfPageText
The page text the text ranges are associated with.
final
ranges List<PdfTextRange>
Text ranges.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The composed text of the text ranges.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited