pdfcpu
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank 2022-02-04 10:38:35 +01:00
parent af7ded48f4
commit 123dc3dc92
Signed by: apairon
GPG Key ID: A0E05A8199CE3F57

7
index.d.ts vendored
View File

@ -465,7 +465,7 @@ interface PdfPackage {
footerLine?: boolean // Display line above the footer
footerRight?: string // Right aligned footer text
footerSpacing?: number // Spacing between footer and content in mm (default 0)
footerHtml?: string // URL to footer html
footerHTML?: string // URL to footer html
headerCenter?: string // Centered header text
headerFontName?: string // Set header font name (default Arial)
headerFontSize?: number // Set header font size (default 12)
@ -473,7 +473,7 @@ interface PdfPackage {
headerLine?: boolean // Display line below the header
headerRight?: string // Right aligned header text
headerSpacing?: number // Spacing between header and content in mm (default 0)
headerHtml?: string // URL to header html
headerHTML?: string // URL to header html
}
): any
@ -490,6 +490,9 @@ interface PdfPackage {
command: "watermark",
pdfData: any,
options: {
description: {
[key: string]: number | string
}
mode: "image"
bytes: any // []byte of watermark image
}