Class: PDFReader
Read the text of a PDF
Extends
Constructors
new PDFReader()
new PDFReader():
PDFReader
Returns
Inherited from
Methods
loadData()
Parameters
• file: string
Returns
Promise
<Document
<Metadata
>[]>
Overrides
Source
packages/core/src/readers/PDFReader.ts:9
loadDataAsContent()
Parameters
• content: Uint8Array
Returns
Promise
<Document
<Metadata
>[]>
Overrides
FileReader
. loadDataAsContent
Source
packages/core/src/readers/PDFReader.ts:14
addMetaData()
static
addMetaData(filePath
): (doc
,index
) =>void
Parameters
• filePath: string
Returns
Function
Parameters
• index: number
Returns
void