@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
23 lines • 998 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.OCRParamsPayload = void 0;
const OCRSupportedLocale_1 = require("../../../../pdfjobs/params/ocr/OCRSupportedLocale");
const OCRSupportedType_1 = require("../../../../pdfjobs/params/ocr/OCRSupportedType");
class OCRParamsPayload {
constructor(ocrLang, ocrType) {
this._ocrLang = ocrLang ?? OCRSupportedLocale_1.OCRSupportedLocale.EN_US;
this._ocrType = ocrType ?? OCRSupportedType_1.OCRSupportedType.SEARCHABLE_IMAGE;
}
}
exports.OCRParamsPayload = OCRParamsPayload;
//# sourceMappingURL=OCRParamsPayload.js.map