mirror of
https://github.com/morbalint/kem2karakterlap.git
synced 2026-07-17 23:33:48 +00:00
add varazslat lapok
This commit is contained in:
+2
-2
@@ -9,9 +9,9 @@ export interface TextFieldOptions {
|
||||
text?: string,
|
||||
}
|
||||
|
||||
export type RenderTextBoxFunc = (options: TextFieldOptions) => PDFTextField;
|
||||
export type RenderTextFieldFunc = (options: TextFieldOptions) => PDFTextField;
|
||||
|
||||
export function addTextFieldFactory(form: PDFForm, pdfFont: PDFFont, page: PDFPage): RenderTextBoxFunc {
|
||||
export function addTextFieldFactory(form: PDFForm, pdfFont: PDFFont, page: PDFPage): RenderTextFieldFunc {
|
||||
return (options: TextFieldOptions) => {
|
||||
const field = form.createTextField(options.name)
|
||||
field.setText(options.text)
|
||||
|
||||
Reference in New Issue
Block a user