survey-pdf
Version:
survey.pdf.js is a SurveyJS PDF Library. It is a easy way to export SurveyJS surveys to PDF. It uses JSON for survey metadata.
12 lines (11 loc) • 456 B
TypeScript
import { IQuestion } from 'survey-core';
import { IPoint, IRect, DocController } from '../doc_controller';
import { PdfBrick } from './pdf_brick';
export declare class TextBrick extends PdfBrick {
protected text: string;
protected align: any;
constructor(question: IQuestion, controller: DocController, rect: IRect, text: string);
private escapeText;
renderInteractive(): Promise<void>;
protected alignPoint(rect: IRect): IPoint;
}