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  

DynaPDF.SetCheckBoxState

Changes the state of a check box.

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

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
Value The new check value.

Result

Returns OK or error.

Description

Changes the state of a check box.
The parameter Field must be a valid check box handle.

You may need to check what sub fields your checkbox or radio buttons have, as they may have multiple sub fields.

See also SetCheckBoxState function in DynaPDF manual.

Examples

Set checkbox for field 20:

Set Variable [ $r ; Value: MBS( "DynaPDF.SetCheckBoxState"; $pdf; 20; 1 ) ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 5th November 2014, last changed 22nd September 2022


DynaPDF.SetCheckBoxDefState - DynaPDF.SetColorSpace

💬 Ask a question or report a problem