[This documentation is preliminary and is subject to change.]
Moves the start and end positions of the text range to the given point.
HRESULT retVal = object.moveToPoint(x, y);
There are no standards that apply here.
long that specifies the horizontal offset relative to the upper-left corner of the window, in pixels.
long that specifies the vertical offset relative to the upper-left corner of the window, in pixels.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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 you can expand and move the range using methods such as expand and moveEnd.
This feature might not be available on non-Microsoft Win32 platforms.
Build date: 6/12/2012