scannedPageRatio property
final
Fraction of pages that must have no text layer for PdfDocument.isPlainTextExtractable to return false. Default: 0.5.
A value of 0.5 means a document is only considered predominantly scanned when more than half its pages yield no characters from PDFium. A single image or figure page in an otherwise text-based document will not trigger this flag.
Implementation
final double scannedPageRatio;