property Gauge.LayerFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS)
as Long
Retrieves the index of the layer from the point ( only visible and selectable objects are included ).


| | Type | Description | |
| |
X as OLE_XPOS_PIXELS |
A long expression that specifies the x-position in client coordinate to get the
layer from.
| |
| |
Y as OLE_YPOS_PIXELS |
A long expression that specifies the y-position in client coordinate to get the
layer from.
| |
| |
Long |
A Long expression that specifies the index of the layer from the cursor, or -1
if not found.
| |