Description
Add a form field

Namespace: Docs.Word
Assembly: Docs.Word (in Docs.Word.dll) Version: 2.3.0.0 (2.3)

Syntax

         
 C#  Visual Basic  Visual C++ 
public FormField AddFormField(
	FormFieldType Type,
	string Name
)
Public Function AddFormField ( _
	Type As FormFieldType, _
	Name As String _
) As FormField
public:
FormField^ AddFormField(
	FormFieldType Type, 
	String^ Name
)

Parameters

Type
FormFieldType
Type of this form field - textbox, checkbox, dropdown list
Name
String
Name of this form field

Return Value

The result instance of form field class

See Also