Modifica

Condividi tramite


Window.RangeFromPoint(Int32, Int32) Method

Definition

Returns the Range or Shape object that is located at the point specified by the screen position coordinate pair.

public:
 System::Object ^ RangeFromPoint(int x, int y);
public object RangeFromPoint (int x, int y);
abstract member RangeFromPoint : int * int -> obj
Public Function RangeFromPoint (x As Integer, y As Integer) As Object

Parameters

x
Int32

Required Integer. The horizontal distance (in pixels) from the left edge of the screen to the point.

y
Int32

Required Integer. The vertical distance (in pixels) from the top of the screen to the point.

Returns

Remarks

If no range or shape is located at the coordinate pair specified, the method returns Nothing.

Applies to