Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.CreateCheckBox
This function creates a check box.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.CreateCheckBox"; PDF; Name; ExpValue; Checked; Parent; PosX; PosY; Width; Height ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Name | Name of the text field | "IsMale" |
ExpValue | Export value (required) | "IsMale" |
Checked | If 1, the check box appears checked. Else pass 0 for unchecked. | 0 |
Parent | Parent group field if any or -1. | -1 |
PosX | X-Coordinate of the text field. | 100 |
PosY | Y-Coordinate of the text field. | 100 |
Width | Width of the text field. | 100 |
Height | Height of the text field. | 20 |
Result
Returns field handle or error.
Description
This function creates a check box.See CreateCheckBox function in dynapdf_help.pdf for details.
See also CreateCheckBox function in DynaPDF manual.
Examples
Create a check box:
Set Variable [ $r ; Value: MBS("DynaPDF.CreateCheckBox"; $pdf; "Check1"; "Ja"; 0; -1; 156; 148-14; 14; 14) ]
See also
- DynaPDF.AddActionToObj
- DynaPDF.CreateComboBox
- DynaPDF.CreateJSAction
- DynaPDF.CreateListBox
- DynaPDF.New
Example Databases
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 29th October 2020