It is tricky... one needs to look with PDFDebugger how Adobe does it and
then you copy that. Here's my attempt with round buttons.
https://stackoverflow.com/questions/41631119/radiobutton-display-problems-with-pdfbox/41632982
I looked how the square buttons are done... it is similar except that a
font is used. Not sure if this is needed or whether it is for text
extraction.
Tilman
Am 24.07.2018 um 15:35 schrieb Gary Grosso:
Users of a fillable form application have come back asking for the ability to
have a square radio button.
Acrobat gives a dialog, Radio Button Properties, with Options > Button Style,
which can be set to check, circle, cross, diamond, square, or star.
I have been trying to understand how this is implemented using PDFBox, but have
not had any luck.
The sample PDF is at http://aapro.net/temp/squarebutton.pdf
While "How to get square radio button" is what I'm required to know, "How to have
figured that out using PDFBox" would also be of interest and appreciated.
Thanks,
Gary
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]