Modifica

Condividi tramite


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
type TextInput = interface
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

Returns a Application object that represents the Microsoft Word application.

Creator

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

Default

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

Format

Returns the text formatting for the specified text box.

Parent

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

Type

Returns the type of text form field.

Valid

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

Width

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

Methods

Clear()

Deletes the text from the specified text form field.

EditType(WdTextFormFieldType, Object, Object, Object)

Sets options for the specified text form field.

Applies to