Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

move method

Collapses the given text range and moves the empty range by the given number of units.

Syntax


 retVal = object.move(Unit, Count);

Parameters

Unit [in]

Type: BSTR

BSTR that specifies the units to move, using one of the following values:

character

Moves one or more characters.

word

Moves one or more words. A word is a collection of characters terminated by a space or some other white-space character, such as a tab.

sentence

Moves one or more sentences. A sentence is a collection of words terminated by a punctuation character, such as a period.

textedit

Moves to the start or end of the original range.

Count [in, optional]

Type: long

long that specifies the number of units to move. This can be positive or negative. The default is 1.

Standards information

There are no standards that apply here.

Remarks

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

See also

Reference
IHTMLTxtRange::moveEnd
IHTMLTxtRange::moveStart

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.