PdfTextExtractorConfig class final

Configuration for text extraction heuristics.

scannedPageRatio affects PdfDocument.isPlainTextExtractable. PdfPageText.hasTextLayer is always determined by whether PDFium can extract any characters from the page — no configuration is needed.

Constructors

PdfTextExtractorConfig({double scannedPageRatio = 0.5})
Creates a PdfTextExtractorConfig.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scannedPageRatio double
Fraction of pages that must have no text layer for PdfDocument.isPlainTextExtractable to return false. Default: 0.5.
final

Methods

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

Operators

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