PdfCheckBoxField
Represents a check box form field in a PDF document. Check boxes toggle between two states: checked and unchecked.
from nutrient_sdk import PdfCheckBoxFieldInherits from: PdfFormField
Construction
PdfCheckBoxField cannot be instantiated directly. Obtain instances through static factory methods or via other SDK classes.
Properties
background_color
@propertydef background_color(self) -> Color
@background_color.setterdef background_color(self, value: Color) -> NoneThe background color of the check box.
Type: Color
border_color
@propertydef border_color(self) -> Color
@border_color.setterdef border_color(self, value: Color) -> NoneThe border color of the check box.
Type: Color
is_checked
@propertydef is_checked(self) -> bool
@is_checked.setterdef is_checked(self, value: bool) -> NoneWhether the check box is currently checked.
Type: bool
on_state_name
@propertydef on_state_name(self) -> strGets the “on” state name for this check box. This is the value used when the check box is checked (often “Yes” or “On”).
Type: str
Read-only property.
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