@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
31 lines • 1.12 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.FieldParams = void 0;
class FieldParams {
constructor(fieldOptions) {
this._fieldName = fieldOptions.fieldName;
this._visible = fieldOptions.visible;
this._location = fieldOptions.fieldLocation ? new FieldLocationParams(fieldOptions.fieldLocation) : undefined;
this._pageNumber = fieldOptions.pageNumber;
}
}
exports.FieldParams = FieldParams;
class FieldLocationParams {
constructor(fieldLocation) {
this._left = fieldLocation.left;
this._top = fieldLocation.top;
this._right = fieldLocation.right;
this._bottom = fieldLocation.bottom;
}
}
//# sourceMappingURL=FieldParams.js.map