IHTMLTextAreaElement2 interface

Specifies additional properties for when you select text.

Members

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

  • Methods
  • Properties

Methods

The IHTMLTextAreaElement2 interface has these methods.

Method Description
setSelectionRange

Sets the start and end positions of a selection in a text field.

 

Properties

The IHTMLTextAreaElement2 interface has these properties.

Property Description

selectionEnd

Gets or sets the end position or offset of a text selection.

selectionStart

Gets or sets the starting position or offset of a text selection.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch