Udostępnij za pośrednictwem


TextInput Members (Word)

Represents a single text form field.

Methods

Name

Description

Clear

Deletes the text from the specified text form field.

EditType

Sets options for the specified text form field.

Properties

Name

Description

Application

Returns an 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. Read-only Long.

Default

Returns or sets the text that represents the default text box contents. Read/write String.

Format

Returns the text formatting for the specified text box. Read-only String.

Parent

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

Type

Returns the type of text form field. Read-only WdTextFormFieldType.

Valid

True if the specified form field object is a valid check box form field. Read-only Boolean. .

Width

Returns or sets the width, in points, of the specified text input field. Read/write Long.