Q:
After going through your documentation I found this method GetOnState(Field fld) to get radio button’s option field value from:
http://www.pdftron.com/kb/questions.php?questionid=754
Is that the only way or is there any simpler method like:
fld.GetOptionValue();
A:
In more recent versions of PDFNet simpler methods for getting and setting whether radio buttons are selected were added. For example to get whether a radio button is selected you can now use fld.GetValueAsBool(); and to set the button as selected you can use fld.SetValue(true);.