Hi, > Am 29.11.2016 um 20:11 schrieb Karl Heinz Kremer <[email protected]>: > > In a pre-v2 PDFBox based application, I was able to use PDRadioCollection > to get all child elements of a radio box group. Is there anything similar > in PDFBox 2? > > What I am looking for is a way to get all options for a radio button group. > I can do this by getting the field's COSDictionary, and then traverse the > COS hierarchy for the field, but I'd like to avoid that if there is an > easier option. >
looks like http://pdfbox.apache.org/docs/2.0.3/javadocs/org/apache/pdfbox/pdmodel/interactive/form/PDButton.html#getOnValues() is what you are looking for. BR Maruan > Thanks, > > Karl Heinz Kremer > PDF Acrobatics Without a Net > PDF Software Development, Training and More... > > [email protected] > http://www.khkonsulting.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

