@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
34 lines • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FitPageDestinationFitPage = void 0;
class FitPageDestinationFitPage {
constructor(data) {
let pageDefault = 1;
this.page = typeof (data === null || data === void 0 ? void 0 : data.page) !== "undefined" ? data === null || data === void 0 ? void 0 : data.page : pageDefault;
}
static getPageDefault() {
return 1;
}
static getPageDescription() {
return "The document page to which the jump will be.";
}
static getPageMin() {
return 1;
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new FitPageDestinationFitPage(data);
}
toJson() {
return {
'page': this.page,
};
}
clone() {
return FitPageDestinationFitPage.fromJson(this.toJson());
}
}
exports.FitPageDestinationFitPage = FitPageDestinationFitPage;
//# sourceMappingURL=FitPageDestinationFitPage.js.map