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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
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