PdfRadioButtonField
Represents a radio button form field in a PDF document. Radio buttons are part of a mutually exclusive group where only one option can be selected.
from nutrient_sdk import PdfRadioButtonFieldInherits from: PdfFormField
Construction
PdfRadioButtonField cannot be instantiated directly. Obtain instances through static factory methods or via other SDK classes.
Properties
has_selection
@propertydef has_selection(self) -> boolWhether any option is currently selected.
Type: bool
Read-only property.
option_count
@propertydef option_count(self) -> intThe number of options (radio buttons) in this group.
Type: int
Read-only property.
selected_option
@propertydef selected_option(self) -> str
@selected_option.setterdef selected_option(self, value: str) -> NoneThe currently selected option value. Set to “Off” to deselect all options.
Type: str
Inherited members
From PdfFormField: child, child_count, default_value, field_type, full_name, is_read_only, is_required, is_terminal, name, parent, value, widget, widget_count, remove_child_at