Package com.winnovative_software
Class PdfFormButton
java.lang.Object
com.winnovative_software.PdfFormField
com.winnovative_software.PdfFormButton
Represents a button in a PDF form
-
Constructor Summary
ConstructorsConstructorDescriptionPdfFormButton
(RectangleFloat box, String text, PdfFont pdfFont) Constructs text box form field -
Method Summary
Methods inherited from class com.winnovative_software.PdfFormField
boundingRectangle, defaultValue, export, flatten, name, parentForm, readOnly, required, setAction, setBoundingRectangle, setDefaultValue, setExport, setFlatten, setName, setReadOnly, setRequired, setStyle, setToolTip, style, toolTip
-
Constructor Details
-
PdfFormButton
Constructs text box form field- Parameters:
box
- the button control bounding boxtext
- the button textpdfFont
- the button text font
-
-
Method Details
-
text
Gets the PDF form button text- Returns:
- PDF form button text
-
setText
Sets the PDF form button text- Parameters:
text
- the PDF form button text to set
-
font
Gets the PDF form button text font- Returns:
- the PDF form button text font
-
setFont
Sets the PDF form button text font- Parameters:
pdfFont
- the PDF form button text font to set
-