1 out of 8 rated this helpful - Rate this topic

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);

Standards information

There are no standards that apply here.

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.

Remarks

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

See also

TextRange

 

 

Send comments about this topic to Microsoft

Build date: 11/8/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.