Buffer
The binary data of the PDF file.
PdfFile
number
[]
Optional. An array of page numbers to get content from.
Promise
<PdfFileContentItem
[]>
A promise that resolves to the content of the specified pages.
Promise
<number
>
A promise that resolves to the number of pages.
string
The string to search for.
• options?: SearchPdfConfigs
Optional. Search configuration options.
Promise
<SearchPdfResult
[]>
A promise that resolves to an array of search results.
string
The URL of the PDF file.
Promise
<PdfFile
>
A promise that resolves to a PdfFile instance.