FormFields.Add Method

Returns a FormField object that represents a new form field added at a range.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

FormField Add(
	Range Range,
	WdFieldType Type
)

Parameters

Range
Type: Microsoft.Office.Interop.Word.Range
Required Range object. The range where you want to add the form field. If the range isn't collapsed, the form field replaces the range.
Type
Type: Microsoft.Office.Interop.Word.WdFieldType
Required WdFieldType. The type of form field to add.

Community Additions

ADD
Show:
© 2014 Microsoft