Share via


TextRange.moveToPoint Method

SharePoint Designer Developer Reference

Moves the start and end positions of a TextRange object to the specified point.

Syntax

expression.moveToPoint(x, y)

expression   Required. A variable that represents a TextRange object.

Parameters

Name Required/Optional Data Type Description
x Required Long The horizontal position from the left edge of the application window.
y Required Long The vertical position from the top edge of the application window.

Remarks

The x and y parameters for the moveToPoint method are coordinates from the upper-left corner of the browser window. This includes the toolbars and Views bar in the Microsoft Office SharePoint Designer application.

See Also