PdfTextRange class
Simple text range in a PDF page.
The text range is used to describe text selection in a page but it does not indicate the actual page text; PdfTextRanges contains multiple PdfTextRanges and the actual PdfPageText the ranges are associated with.
Constructors
- PdfTextRange({required int start, required int end})
-
const
Properties
- end → int
-
Text end index in PdfPageText.fullText.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
Text start index in PdfPageText.fullText.
final
Methods
-
copyWith(
{int? start, int? end}) → PdfTextRange -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toTextRangeWithFragments(
PdfPageText pageText) → PdfTextRangeWithFragments? - Convert to PdfTextRangeWithFragments.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override