IHTMLTxtRange::moveToPointIHTMLTxtRange::moveToPoint*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLTxtRange::moveToElementText
*Next Topic: IHTMLTxtRange::parentElement

IHTMLTxtRange::moveToPoint


HRESULT moveToPoint( 
    long x,
    long y 
);

Moves the start and end positions of the text range to the given point. 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.

x
Integer specifying the x-coordinate, in pixels.
y
Integer specifying the y-coordinate, in pixels.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.