PdfPushButtonField
Represents a push button form field in a PDF document. Push buttons respond immediately to user input without retaining a permanent value. They are typically used to trigger actions like submit, reset, or JavaScript execution.
from nutrient_sdk import PdfPushButtonFieldInherits from: PdfFormField
Construction
PdfPushButtonField 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 button.
Type: Color
border_color
@propertydef border_color(self) -> Color
@border_color.setterdef border_color(self, value: Color) -> NoneThe border color of the button.
Type: Color
caption
@propertydef caption(self) -> str
@caption.setterdef caption(self, value: str) -> NoneThe caption text displayed on the button.
Type: str
font_color
@propertydef font_color(self) -> Color
@font_color.setterdef font_color(self, value: Color) -> NoneThe font color for the button caption text.
Type: Color
font_name
@propertydef font_name(self) -> str
@font_name.setterdef font_name(self, value: str) -> NoneThe font name for the button caption text.
Type: str
font_size
@propertydef font_size(self) -> float
@font_size.setterdef font_size(self, value: float) -> NoneThe font size for the button caption text.
Type: float
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