@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
25 lines • 989 B
JavaScript
;
/*
* Copyright 2024 Adobe
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file in
* accordance with the terms of the Adobe license agreement accompanying
* it. If you have received this file from a source other than Adobe,
* then your use, modification, or distribution of it requires the prior
* written permission of Adobe.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.HTMLtoPDFParamsPayload = void 0;
const PageLayout_1 = require("./PageLayout");
class HTMLtoPDFParamsPayload {
constructor(includeHeaderFooter, pageLayout, dataToMerge) {
this._includeHeaderFooter = includeHeaderFooter ?? false;
this._pageLayout = pageLayout ?? new PageLayout_1.PageLayout(8.5, 11);
if (dataToMerge) {
this._json = JSON.stringify(dataToMerge);
}
}
}
exports.HTMLtoPDFParamsPayload = HTMLtoPDFParamsPayload;
//# sourceMappingURL=HTMLtoPDFParamsPayload.js.map