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


The function changes or sets the value of a text field.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetTextFieldValueEx"; PDF; Field; Value )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
Value New value or "" to delete it. "Andreas"


Returns OK or error.


The function changes or sets the value of a text field.
If the value is set to empty, the field's value will be deleted.
The strings are drawn with the font that is associated with the field. The font size is taken from the field settings. If set to "auto", the font size is computed from the field's bounding box.

See also SetTextFieldValueEx function in DynaPDF manual.


Sets text field value:

MBS( "DynaPDF.SetTextFieldValueEx"; $PDF; "FirstName"; "Jack" )

See also

Blog Entries

This function checks for a license.

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

DynaPDF.SetTextFieldValue - DynaPDF.SetTextRect

💬 Ask a question or report a problem