Use ImageAtPos when you want to know which image is at the specified location within the control.

Specify the position in client coordinates as the value of the x,y parameters.

If there is no control at the specified position, ImageAtPos returns -1.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int ImageAtPos(
	int x,
	int y
)
Public Function ImageAtPos ( _
	x As Integer, _
	y As Integer _
) As Integer
public:
int ImageAtPos(
	int x, 
	int y
)

Parameters

x
Int32
x coordinate
y
Int32
y coordinate

Return Value

The image index at x,y coordinates

See Also