index.js
/**
     * Applies a PDF watermark to the background of a single PDF.
     * @public
     * @chainable
     * @param {String|Buffer} file - PDF file that contains the background to be applied.
     * @returns {Object} PdfTk class instance.
     * @see {@link https://www.pdflabs.com/docs/pdftk-man-page/#dest-op-background}
     */
Applies a PDF watermark to the background of a single PDF.
@public
@chainable
@param {String|Buffer} file - PDF file that contains the background to be applied.
@returns {Object} PdfTk class instance.
Applies a PDF watermark to the background of a single PDF . @public @chainable @param { String|Buffer } file - PDF file that contains the background to be applied . @returns { Object } PdfTk class instance .
background(file) {
        if (this.error) return this;
        try {
            this._commandWithStdin('background', file);
        } catch (err) {
            this.error = err;
        }
        return this;
    }
background ( file ) { if ( this . error ) return this ; try { this . _commandWithStdin ( 'background' , file ) ; } catch ( err ) { this . error = err ; } return this ; }
Applies a PDF watermark to the background of a single PDF.
Applies a PDF watermark to the background of a single PDF .