We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

GetButtonOptionCurrentValue Example Please

I cannot seem to get anything other than an exception from the GetButtonOptionValues and GetButtonOptionCurrentValue methods. Could you please give me an example of:

* building a PDF document with a radio button group in ASPOSE.Pdf, saving it to disk

* accessing the PDF from ASPOSE.Pdf.Kit

* Calling the GetButtonOptionCurrentValue property to see which radio button option is selected

Thanks!

...Dave

Hi David,

You can find the examples to get radio button’s current value or all the values along with [GetButtonOptionCurrentValue] and [GetButtonOptionValues] methods respectively. If you want to change the currently selected value of the radio button you can use FillField method; you can pass index of the value which needs to be selected.

You can also find the example for adding radio button or other fields using Aspose.Pdf on [this link]. However, I’m afraid, setting radio button value is currently not supported by Aspose.Pdf. This requirement is already logged as PDFNET-14292 in our issue tracking system. You’ll be updated via this forum thread once it is supported.

Moreover, if you have assigned radio button values using some other tool and Aspose.Pdf.Kit is still unable to get the values then please share the problematic PDF with us, so we could test the issue at our end.

We’re sorry for the inconvenience.
Regards,

The issues you have found earlier (filed as 14292) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(2)