Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
The function sets or changes the value and default value of a text field.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
Field | The field index or field name. | "FirstName" | |
Value | The new text field value. | "Andreas" | Optional |
DefValue | The new default text field value. | "" | Optional |
Align | The text alignment. Can be Left, Center, Right or Justify. | "Justify" | Optional |
Returns OK or error.
See also SetTextFieldValue function in DynaPDF manual.
Sets text field value:
MBS( "DynaPDF.SetTextFieldValue"; $PDF; "FirstName"; "Geoff"; ""; "Left" )
This function checks for a license.
Created 18th August 2014, last changed 27th January 2023