PdfTextRangeWithFragments class

Text range (start/end index) in PDF page and it's associated text and bounding rectangle.

Constructors

PdfTextRangeWithFragments(int pageNumber, List<PdfPageTextFragment> fragments, int start, int end, PdfRect bounds)

Properties

bounds PdfRect
Bounding rectangle of the text.
final
end int
In-fragment text end index on the last fragment.
final
fragments List<PdfPageTextFragment>
Fragments that contains the text.
final
hashCode int
The hash code for this object.
no setteroverride
pageNumber int
Page number of the page.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
In-fragment text start index on the first fragment.
final

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.
override

Static Methods

fromTextRange(PdfPageText pageText, int start, int end) PdfTextRangeWithFragments?
Create PdfTextRangeWithFragments from text range in PdfPageText.