@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
46 lines • 1.45 kB
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.PDFPropertiesResult = void 0;
/**
* This class encapsulates the result of {@link PDFPropertiesJob}.
*/
class PDFPropertiesResult {
/**
* Constructs a new `PDFPropertiesResult` instance with {@link PDFProperties} and PDF Properties JSON string
*
* @param pdfProperties - PDF Properties
* @param pdfPropertiesJson - PDF Properties JSON String
*/
constructor(pdfProperties, pdfPropertiesJson) {
this._pdfProperties = pdfProperties;
this._pdfPropertiesJson = pdfPropertiesJson;
}
/**
* Returns {@link PDFProperties}
*
* @returns {@link PDFProperties}
*/
get pdfProperties() {
return this._pdfProperties;
}
/**
* Returns PDF Properties JSON string
*
* @returns PDF Properties JSON string
*/
get getPDFPropertiesJson() {
return this._pdfPropertiesJson;
}
}
exports.PDFPropertiesResult = PDFPropertiesResult;
//# sourceMappingURL=PDFPropertiesResult.js.map