@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
51 lines (50 loc) • 1.73 kB
TypeScript
import { PrintMode, Parameter } from "./../index";
export interface ToolboxPrintPrintInterface {
autoRotate?: boolean;
centerInPage?: boolean;
copies?: number;
dpi?: number;
expandToMargins?: boolean;
jobName?: string;
mode?: PrintMode;
pages?: string;
printerName?: string;
shrinkToMargins?: boolean;
}
export declare class ToolboxPrintPrint implements ToolboxPrintPrintInterface, Parameter {
autoRotate?: boolean;
centerInPage?: boolean;
copies?: number;
dpi?: number;
expandToMargins?: boolean;
jobName?: string;
mode?: PrintMode;
pages?: string;
printerName?: string;
shrinkToMargins?: boolean;
constructor(data: any);
static getAutoRotateDefault(): boolean;
static getAutoRotateDescription(): string;
static getCenterInPageDefault(): boolean;
static getCenterInPageDescription(): string;
static getCopiesDefault(): number;
static getCopiesDescription(): string;
static getCopiesMin(): number;
static getDpiDefault(): number;
static getDpiDescription(): string;
static getExpandToMarginsDefault(): boolean;
static getExpandToMarginsDescription(): string;
static getJobNameDefault(): string;
static getJobNameDescription(): string;
static getModeDefault(): PrintMode;
static getModeDescription(): string;
static getPagesDefault(): string;
static getPagesDescription(): string;
static getPrinterNameDefault(): string;
static getPrinterNameDescription(): string;
static getShrinkToMarginsDefault(): boolean;
static getShrinkToMarginsDescription(): string;
static fromJson(data: any): ToolboxPrintPrint;
toJson(): any;
clone(): ToolboxPrintPrint;
}