Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


This function creates a text field.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.CreateTextField"; PDF; Name; Parent; Multiline; MaxLen; PosX; PosY; Width; Height )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Name Name of the text field "Input"
Parent Parent group field if any or -1. -1
Multiline Enable multi line text output. 0
MaxLen Maximum length of the text or 0. 0
PosX X-Coordinate of the text field. 100
PosY Y-Coordinate of the text field. 100
Width Width of the text field. 100
Height Height of the text field. 20


Returns field handle or error.


This function creates a text field.
See CreateTextField function in dynapdf_help.pdf for details.

See also CreateTextField function in DynaPDF manual.


Create a text field:

Set Variable [$f; Value:MBS( "DynaPDF.CreateTextField"; $pdf; "Val1"; -1; 0; 0; 50; $y; 200; 20)]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 18th October 2016

DynaPDF.CreateSubmitAction - DynaPDF.CreateXFAStream