UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

99 lines (98 loc) 3.46 kB
import { Rectangle, Parameter, AppearanceSource, TextAnnotationIcons, AppearanceGeneration } from "./../index"; export interface TextAnnotationInterface { appearanceGeneration?: AppearanceGeneration; color?: string; contents?: string; creator?: string; customIconName?: string; hidden?: boolean; icon?: TextAnnotationIcons; initialOpen?: boolean; intents?: string; invisible?: boolean; locked?: boolean; name?: string; normalAppearance?: AppearanceSource; opacity?: number; page?: number; position?: Rectangle; printable?: boolean; rotatable?: boolean; subject?: string; viewable?: boolean; writable?: boolean; zoomable?: boolean; } export declare class TextAnnotation implements TextAnnotationInterface, Parameter { appearanceGeneration?: AppearanceGeneration; color?: string; contents?: string; creator?: string; customIconName?: string; hidden?: boolean; icon?: TextAnnotationIcons; initialOpen?: boolean; intents?: string; invisible?: boolean; locked?: boolean; name?: string; normalAppearance?: AppearanceSource; opacity?: number; page?: number; position?: Rectangle; printable?: boolean; rotatable?: boolean; subject?: string; viewable?: boolean; writable?: boolean; zoomable?: boolean; constructor(data: any); static getAppearanceGenerationDefault(): AppearanceGeneration; static getAppearanceGenerationDescription(): string; static getColorDefault(): string; static getColorDescription(): string; static getContentsDefault(): string; static getContentsDescription(): string; static getCreatorDefault(): string; static getCreatorDescription(): string; static getCustomIconNameDefault(): string; static getCustomIconNameDescription(): string; static getHiddenDefault(): boolean; static getHiddenDescription(): string; static getIconDefault(): TextAnnotationIcons; static getIconDescription(): string; static getInitialOpenDefault(): boolean; static getInitialOpenDescription(): string; static getIntentsDefault(): string; static getIntentsDescription(): string; static getInvisibleDefault(): boolean; static getInvisibleDescription(): string; static getLockedDefault(): boolean; static getLockedDescription(): string; static getNameDefault(): string; static getNameDescription(): string; static getNormalAppearanceDescription(): string; static getOpacityDefault(): number; static getOpacityDescription(): string; static getOpacityMin(): number; static getOpacityMax(): number; static getPageDefault(): number; static getPageDescription(): string; static getPageMin(): number; static getPositionDescription(): string; static getPrintableDefault(): boolean; static getPrintableDescription(): string; static getRotatableDefault(): boolean; static getRotatableDescription(): string; static getSubjectDefault(): string; static getSubjectDescription(): string; static getViewableDefault(): boolean; static getViewableDescription(): string; static getWritableDefault(): boolean; static getWritableDescription(): string; static getZoomableDefault(): boolean; static getZoomableDescription(): string; static fromJson(data: any): TextAnnotation; toJson(): any; clone(): TextAnnotation; }