Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

moveToElementText method

Moves the text range so that the start and end positions of the range encompass the text in the given element.

Syntax

var retval = TextRange.moveToElementText(element);

Parameters

element [in]

Type: IHTMLElement

Object that specifies the element object to move to.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

Remarks

This feature might not be available on non-Microsoft Win32 platforms.

See also

TextRange

 

 

Show:
© 2015 Microsoft