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: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  


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

Component Version macOS Windows Linux Server iOS SDK License
DynaPDF 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes Paid
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

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

DynaPDF.SetTextFieldValue - DynaPDF.SetTextRect

Feedback: Report problem or ask question.

Start Chat