@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
84 lines (83 loc) • 2.79 kB
TypeScript
import { PositionRedactAnnotation, Parameter } from "./../index";
export interface RedactAnnotationInterface {
color?: string;
contents?: string;
creator?: string;
hidden?: boolean;
intents?: string;
interiorColor?: string;
invisible?: boolean;
locked?: boolean;
name?: string;
opacity?: number;
page?: number;
position?: PositionRedactAnnotation;
printable?: boolean;
rotatable?: boolean;
subject?: string;
viewable?: boolean;
writable?: boolean;
zoomable?: boolean;
}
export declare class RedactAnnotation implements RedactAnnotationInterface, Parameter {
color?: string;
contents?: string;
creator?: string;
hidden?: boolean;
intents?: string;
interiorColor?: string;
invisible?: boolean;
locked?: boolean;
name?: string;
opacity?: number;
page?: number;
position?: PositionRedactAnnotation;
printable?: boolean;
rotatable?: boolean;
subject?: string;
viewable?: boolean;
writable?: boolean;
zoomable?: boolean;
constructor(data: any);
static getColorDefault(): string;
static getColorDescription(): string;
static getContentsDefault(): string;
static getContentsDescription(): string;
static getCreatorDefault(): string;
static getCreatorDescription(): string;
static getHiddenDefault(): boolean;
static getHiddenDescription(): string;
static getIntentsDefault(): string;
static getIntentsDescription(): string;
static getInteriorColorDefault(): string;
static getInteriorColorDescription(): string;
static getInvisibleDefault(): boolean;
static getInvisibleDescription(): string;
static getLockedDefault(): boolean;
static getLockedDescription(): string;
static getNameDefault(): string;
static getNameDescription(): 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): RedactAnnotation;
toJson(): any;
clone(): RedactAnnotation;
}