Can you tell me how I can get the index for a specific FormField in a Word document? I am using a foreach to loop over the form fields like this:
foreach (FormField field in doc.Sections[0].Body.FormFields)
{
//Get field name and value.
How can I get the index for each field in the FormFields collection?
}
Thank you,
Matt