Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.SetTextFieldValueEx

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

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.1 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetTextFieldValueEx"; PDF; Field; Value )

Parameters

Parameter Description Example value
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"

Result

Returns OK or error.

Description

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.

Examples

Sets text field value:

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

See also


DynaPDF.SetTextFieldValue   -   DynaPDF.SetTextRect

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos