TextInput TextInput TextInput Interface

Definition

Represents a single text form field.

public interface class TextInput
[System.Runtime.InteropServices.Guid("00020927-0000-0000-C000-000000000046")]
public interface TextInput
Public Interface TextInput
Attributes

Remarks

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(Range, WdFieldType) method with the FormFields object to add a text form field.

Properties

Application Application Application

Returns a Application object that represents the Microsoft Word application.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Default Default Default

Returns or sets the text that represents the default text box contents.

Format Format Format

Returns the text formatting for the specified text box.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.

Type Type Type

Returns the type of text form field.

Valid Valid Valid

True if the specified form field object is a valid check box form field.

Width Width Width

Returns or sets the width of the specified object, in points.

Methods

Clear() Clear() Clear()

Deletes the text from the specified text form field.

EditType(WdTextFormFieldType, Object, Object, Object) EditType(WdTextFormFieldType, Object, Object, Object) EditType(WdTextFormFieldType, Object, Object, Object)

Sets options for the specified text form field.

Applies to