Freigeben über


IHTMLTextAreaElement interface

This interface specifies a multiline text input control.

Members

The IHTMLTextAreaElement interface inherits from the IDispatch interface. IHTMLTextAreaElement also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLTextAreaElement interface has these methods.

Method Description
createTextRange

Creates a TextRange object for the element.

select

Highlights the input area of a form element.

 

Properties

The IHTMLTextAreaElement interface has these properties.

Property Description

cols

Sets or retrieves the width of the object.

defaultValue

Sets or retrieves the initial contents of the object.

disabled

Sets or retrieves a value that indicates whether the user can interact with the object.

form

Retrieves a reference to the form that the object is embedded in.

name

Sets or retrieves the name of the object.

readOnly

Sets or retrieves the value indicated whether the content of the object is read-only.

rows

Sets or retrieves the number of horizontal rows contained in the object.

status

Sets or retrieves the value indicating whether the control is selected.

type

Retrieves the type of control.

value

Retrieves or sets the text in the entry field of the textArea element.

wrap

Sets or retrieves how to handle wordwrapping in the object.

 

Remarks

The default font has a fixed number of characters per horizontal inch.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch