-
Notifications
You must be signed in to change notification settings - Fork 5
Class PdfData
lublak edited this page Jun 20, 2021
·
4 revisions
the data of the pdf
• Optional
Readonly
fingerprint: string
the fingerprint
readonly
• Optional
Readonly
info: Info
the informations/description
readonly
• Optional
Readonly
metadata: Metadata
the metadata
readonly
• Optional
Readonly
outline: readonly Outline[]
the outline/bookmarks
readonly
• Optional
Readonly
pages: number
the number of pages
readonly
• Optional
Readonly
permissions: Permissions
the permission flags
readonly
• Optional
Readonly
text: readonly string
[]
extracted text per page
readonly
▸ Static
extract(data
, options?
): Promise
<PdfData>
get the data
Name | Type | Description |
---|---|---|
data |
Uint8Array |
the binary data file |
options |
PdfDataOptions | - |
Promise
<PdfData>
a promise that is resolved with a {PdfData} object with the extracted data