Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  


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

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

DynaPDF.CreateStructureTree - DynaPDF.CreateXFAStream

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins

Start Chat