Hello,
PDAcroFormField button PDAcroFormField radiobutton
Is there any possibility to check whether the FormField is a Button or a Radiobutton? Yes I know they are both Buttons, but it isnt the same I think ;)
When I call
System.out.println(button.isTypeBtn()) System.out.println(radiobutton.isTypeBtn())
it will be:
true true
Is there a another way to check a radiobutton?
How about
button.isRadio()
or
button.isPushbutton()
I am sorry I must have missed that
These functions are in PDAFButtonField.
Log in to post a comment.
Hello,
PDAcroFormField button
PDAcroFormField radiobutton
Is there any possibility to check whether the FormField is a Button or a Radiobutton? Yes I know they are both Buttons, but it isnt the same I think ;)
When I call
System.out.println(button.isTypeBtn())
System.out.println(radiobutton.isTypeBtn())
it will be:
true
true
Is there a another way to check a radiobutton?
How about
or
I am sorry I must have missed that
These functions are in PDAFButtonField.