IHTMLInputTextElement2 interface

Specifies additional properties to use when you are selecting text.

Members

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

  • Methods
  • Properties

Methods

The IHTMLInputTextElement2 interface has these methods.

Method Description
setSelectionRange

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

 

Properties

The IHTMLInputTextElement2 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