survey-pdf
Version:
Renders JSON-driven SurveyJS forms and their responses as PDF documents in the browser or Node.js: fillable interactive PDF forms (AcroForm) or static printouts.
14 lines (13 loc) • 495 B
TypeScript
import { IPdfBrickOptions, PdfBrick } from './pdf_brick';
import { DocController, IRect } from '../doc_controller';
export interface IImageBrickOptions extends IPdfBrickOptions {
link: string | Uint8Array;
width: number;
height: number;
imageId?: string;
}
export declare class ImageBrick extends PdfBrick {
protected options: IImageBrickOptions;
constructor(controller: DocController, rect: IRect, options: IImageBrickOptions);
renderInteractive(): Promise<void>;
}