method Surface.MovePoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS, To as ContentAlignmentEnum)
Moves or scrolls the surface, so the cursor aligns to specified corner.

TypeDescription
X as OLE_XPOS_PIXELS A Long expression that specifies the x-coordinate on the screen to move the surface from.
Y as OLE_YPOS_PIXELS A Long expression that specifies the y-coordinate on the screen to move the surface from.
To as ContentAlignmentEnum A ContentAlignmentEnum expression that specifies the corner of the surface to move the surface to.
The MovePoint method of the control moves the surface from the one point to another. The MoveCorner method scrolls the surface from a corner to another. Use the ScrollTo method of the control to scroll the surface at specified position. The ScrollTo method ensures that the element fits the surface's visible area. The control's ScrollPos, ScrollX and ScrollY properties specify the surface's scroll position.