In This Topic
GdPicture14 Namespace / GdPicturePDF Class / AddRadioButtonFormField Method

AddRadioButtonFormField Method (GdPicturePDF)

In This Topic
Adds a radio button form field to the currently selected page of the loaded PDF document according to your preference.
Overload List
OverloadDescription
Adds a radio button form field to the currently selected page of the loaded PDF document according to what you have specified. Radio button fields are typically grouped into a set of related buttons, in which can each be on or off. Only one child radio button in a group may be on at any time and selecting another one in this group automatically deselects the previous one, if the RadiosInUnison flag is not set. The first added child radio button in a group is selected as on after the successful creation. If the RadiosInUnison flag is set, no child radio button in a group is selected by default.

All radio buttons added within the same group are handled as one form field object after the successful creation. You can determine the number of child radio buttons in a group by using the GdPicturePDF.GetFormFieldChildCount method. To access the individual child objects, please use their corresponding sequence index according to that order, in which they have been added to the group.

This method uses the RGB color space for specifying the required color of the displayed radio button's checkmark.

You can subsequently use other methods for assigning more form field properties, as it is shown in the Example section below.

 
Adds a radio button form field to the currently selected page of the loaded PDF document according to what you have specified. Radio button fields are typically grouped into a set of related buttons, in which can each be on or off. Only one child radio button in a group may be on at any time and selecting another one in this group automatically deselects the previous one, if the RadiosInUnison flag is not set. The first added child radio button in a group is selected as on after the successful creation. If the RadiosInUnison flag is set, no child radio button in a group is selected by default.

All radio buttons added within the same group are handled as one form field object after the successful creation. You can determine the number of child radio buttons in a group by using the GdPicturePDF.GetFormFieldChildCount method. To access the individual child objects, please use their corresponding sequence index according to that order, in which they have been added to the group.

This method uses the CMYK color space for specifying the required color of the displayed radio button's checkmark.

You can subsequently use other methods for assigning more form field properties, as it is shown in the Example section below.

 
Adds a radio button form field to the currently selected page of the loaded PDF document according to what you have specified. Radio button fields are typically grouped into a set of related buttons, in which can each be on or off. Only one child radio button in a group may be on at any time and selecting another one in this group automatically deselects the previous one, if the RadiosInUnison flag is not set. The first added child radio button in a group is selected as on after the successful creation. If the RadiosInUnison flag is set, no child radio button in a group is selected by default.

All radio buttons added within the same group are handled as one form field object after the successful creation. You can determine the number of child radio buttons in a group by using the GdPicturePDF.GetFormFieldChildCount method. To access the individual child objects, please use their corresponding sequence index according to that order, in which they have been added to the group.

This method uses the RGB color space for specifying the required color of the displayed radio button's checkmark.

You can subsequently use other methods for assigning more form field properties, as it is shown in the Example section below.

 
See Also