UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

39 lines 1.21 kB
"use strict"; /* * 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.ContentProperties = void 0; class ContentProperties { constructor(content) { this._isEmpty = content?.is_empty; this._hasImages = content?.has_images; this._numberOfImages = content?.number_of_images; this._onlyImages = content?.only_images; this._hasText = content?.has_text; } get numberOfImages() { return this._numberOfImages; } get containsImagesOnly() { return this._onlyImages; } get containsText() { return this._hasText; } get containsImages() { return this._hasImages; } get isEmpty() { return this._isEmpty; } } exports.ContentProperties = ContentProperties; //# sourceMappingURL=ContentProperties.js.map