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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft