Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IHTMLInputTextElement2
Collapse the table of content
Expand the table of content

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

The IHTMLInputTextElement2 interface has these methods.

MethodDescription
setSelectionRange

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

 

Properties

The IHTMLInputTextElement2 interface has these properties.

PropertyDescription

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 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

 

 

Community Additions

ADD
Show:
© 2015 Microsoft