Example usage for Java com.itextpdf.text.pdf PushbuttonField fields, constructors, methods, implement or subclass
The text is from its open source code.
int | LAYOUT_ICON_ONLY A layout option |
PushbuttonField(PdfWriter writer, Rectangle box, String fieldName) Creates a new instance of PushbuttonField |
PdfFormField | getField() Gets the pushbutton field. |
void | setBackgroundColor(BaseColor backgroundColor) Sets the background color. |
void | setBorderStyle(int borderStyle) Sets the border style. |
void | setImage(Image image) Sets the icon as an image. |
void | setLayout(int layout) Sets the icon and label layout. |
void | setOptions(int options) Sets the option flags. |
void | setProportionalIcon(boolean proportionalIcon) Sets the way the icon is scaled. |
void | setText(String text) Sets the text for text fields. |
void | setVisibility(int visibility) Sets the field visibility flag. |