|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Use FormFields(index), where index is either the bookmark name associated with the text form field or the index number, to return a FormField object. Use the TextInput property with the FormField object to return a TextInput object.
The index number represents the position of the form field in the FormFields collection.
Use the Add method with the FormFields object to add a text form field.