Moves the start and end positions of the text range to the given point.
Syntax
HRESULT moveToPoint( long x, long y );
Parameters
- x
- Integer that specifies the x-coordinate, in pixels.
- y
- Integer that specifies the y-coordinate, in pixels.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The coordinates of the point must be in pixels and be relative to the upper-left corner of the window. The resulting text range is empty, but can be expanded and moved using methods such as expand and moveEnd.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0