@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
48 lines • 1.67 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.PDFProperties = void 0;
/**
* This class represents the metadata of the specified PDF file. It consists of information related to document,
* pages, security settings etc.
*/
class PDFProperties {
/**
* Returns a {@link Document} instance specifying document level properties such as fonts, PDF versions etc.
*
* @returns A {@link Document} instance consisting of document level properties.
*/
get document() {
return this._document;
}
/**
* Returns a {@link SecuritySettings} instance specifying security settings of the such as encryption
* algorithm, user and owner passwords etc.
*
* @returns A {@link SecuritySettings} instance consisting of security settings of the PDF.
*/
get securitySettings() {
return this._permissions;
}
/**
* Returns a list of {@link Page} instances specifying page level properties of the pages from the specified PDF
* file
* such as page number, page height etc.
*
* @returns A List of {@link Page} instances.
*/
get pages() {
return this._pages;
}
}
exports.PDFProperties = PDFProperties;
//# sourceMappingURL=PDFProperties.js.map