Export (0) Print
Expand All

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:
© 2014 Microsoft