I have a word document that contains text fields, form fields, and option buttons that I need to process automatically with C#. I can use the formfields collection to extract the text and form fields, but when it comes to the option buttons (radio buttons) I am struggling on where to look to access them. I've tried the contentcontrols collection, since the option buttons are activex controls, I assumed they would fall there but alas the collection is empty when I access it. I would prefer to use word automation controls to do so (Microsoft.Office.Interop.Word) but am open to any suggestions.
The document was created in Word 2007 using the developer tools. I can post an example document if necessary, but am unable to post the document that I'm trying to read given it's proprietary nature.
Any insight is much appreciated.
Thanks