Here's code to create radio buttons with appearance streams:
http://stackoverflow.com/a/41632982/535646

When calling

radioButton.setValue("a");

then the first button becomes invisible. That is because

Root/Pages/Kids/[0]/Annots/[0]/AS

has "0" instead of "a" as value, and /V is also "0", /DV is still "b".

Calling

radioButton.setValue("Off");

brings an ArrayIndexOutOfBoundsException.

Is this a bug in our code or a wrong way to create radio buttons?

Tilman


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

Reply via email to