PdfTextExtractor class

Represents a text extractor from an existing PDF document

Constructors

PdfTextExtractor(PdfDocument document)
Initialize a new instance of the PdfTextExtractor class from the instance of PdfDocument

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

extractText({int? startPageIndex, int? endPageIndex, bool? layoutText}) String
Extract text from an existing PDF document
extractTextLines({int? startPageIndex, int? endPageIndex}) List<TextLine>
Extract TextLine from an existing PDF document
findText(List<String> searchString, {int? startPageIndex, int? endPageIndex, TextSearchOption? searchOption}) List<MatchedItem>
Returns the information of the matched texts in a specific page based on the list of string to be searched
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