@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
28 lines (27 loc) • 935 B
TypeScript
import { AttachmentFileData, Parameter, FileAnnotation } from "./../index";
export interface FileAttachmentInterface {
annotation?: FileAnnotation;
creator?: string;
data: AttachmentFileData;
fileName: string;
mimeType?: string;
}
export declare class FileAttachment implements FileAttachmentInterface, Parameter {
annotation?: FileAnnotation;
creator?: string;
data: AttachmentFileData;
fileName: string;
mimeType?: string;
constructor(data: any);
static getAnnotationDescription(): string;
static getCreatorDefault(): string;
static getCreatorDescription(): string;
static getDataDescription(): string;
static getFileNameDefault(): string;
static getFileNameDescription(): string;
static getMimeTypeDefault(): string;
static getMimeTypeDescription(): string;
static fromJson(data: any): FileAttachment;
toJson(): any;
clone(): FileAttachment;
}