Modifica

Condividi tramite


Window.RangeFromPoint(Int32, Int32) Method

Definition

Returns the Shape or Range object that is positioned at the specified pair of screen coordinates. If there isn’t a shape located at the specified coordinates, this method returns Nothing.

public:
 System::Object ^ RangeFromPoint(int x, int y);
public object RangeFromPoint (int x, int y);
Public Function RangeFromPoint (x As Integer, y As Integer) As Object

Parameters

x
Int32

Required Integer. The value (in pixels) that represents the horizontal distance from the left edge of the screen, starting at the top.

y
Int32

Required Integer. The value (in pixels) that represents the vertical distance from the top of the screen, starting on the left.

Returns

Applies to