Am 26.04.2015 um 07:10 schrieb Andrew Munn:
What is the best way for PDFBox to detect checked vs unchecked checkboxes
in forms?  I am thinking use the known x/y coordinates to pull the small
image of the checkbox out as a BufferedImage then write code that
determines if the box is filled in.  Some boxes are solid black but some
just have a 1-pixel wide X in them.  Detecting a solid box would be easy.
Detecting the X in the middle of an otherwise empty box would be harder.
Is there some trick to this stuff that I should know?

Yes, "acroform". See the PrintFields example in the source package :-)

Tilman


Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to