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.
10 lines (9 loc) • 434 B
TypeScript
import { PdfBrick } from './pdf_brick';
import { DocController, IRect } from '../doc_controller';
import { IQuestion } from 'survey-core';
export declare class CustomBrick extends PdfBrick {
protected question: IQuestion;
private renderFunc;
constructor(question: IQuestion, controller: DocController, renderFunc: (doc: any, question: any, xLeft: number, yTop: number) => IRect);
renderInteractive(): Promise<void>;
}