PDFDocument.text
Read and search the document's text. Both members need the
extract feature. See TextApi.getterNamespacessince 1.0.0
Signature
get text(): TextApi
Returns
TextApi
Example
TypeScript
const hits = await doc.text.search('Invoice', { matchCase: true });