In This Topic
GdPicture14 Namespace / GdPicturePDF Class / SetFormFieldChecked Method

SetFormFieldChecked Method (GdPicturePDF)

In This Topic
Checks or unchecks a required form field, here a check box or a radio button, in other words toggles the field's checked state to On or Off. The form field is specified by its unique form field's identifier and it is related to the currently loaded PDF document.
Overload List
OverloadDescription
Checks or unchecks the required form field, here a check box, in other words toggles the field's checked state to On or Off. The check box is specified by its unique form field's identifier and it is related to the currently loaded PDF document. As said, this method is only applicable to check boxes.  
Checks a required form field, here a child radio button in a group, in other words toggles the field's checked state to On. The radio button group is specified by its unique form field's identifier and it is related to the currently loaded PDF document. As said, this method is only applicable to radio buttons.

As only one child radio button in a group may be checked at a time (assuming the RadiosInUnison flag is not set), the currently selected child radio button is automatically unchecked, it means its checked state is set to Off. You can completely remove the current selection in a radio button group using the ResetFormFieldCheckedState method.

 
See Also