Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
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
- DynaPDF.GetCheckBoxChar
- DynaPDF.GetCheckBoxCharEx
- DynaPDF.GetCheckBoxDefState
- DynaPDF.New
- DynaPDF.SetCheckBoxChar
- DynaPDF.SetCheckBoxDefState
Example Databases
Blog Entries
This function checks for a license.
Created 5th November 2014, last changed 22nd September 2022