UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

28 lines 995 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FitWidthDestination = void 0; const index_1 = require("./../index"); class FitWidthDestination extends index_1.DestinationEvent { constructor(data) { super(data); this.fitWidth = index_1.FitWidthDestinationFitWidth.fromJson(data === null || data === void 0 ? void 0 : data.fitWidth); } static getFitWidthDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new FitWidthDestination(data); } toJson() { var _a; return Object.assign(Object.assign({}, (super.toJson())), { 'fitWidth': (_a = this.fitWidth) === null || _a === void 0 ? void 0 : _a.toJson() }); } clone() { return FitWidthDestination.fromJson(this.toJson()); } } exports.FitWidthDestination = FitWidthDestination; //# sourceMappingURL=FitWidthDestination.js.map