| Home > Function descriptions > | History back Previous chapter Next chapter Print |
GetImagePos |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG GetImagePosition (LONG* xPos, LONG* yPos)
Description
GetImagePos() returns the X- and Y-coordinate of the upper left corner of the image. The default value is (0;0). The image position can be set with the SetImagePosition() function.
Parameters
Parameter |
Description |
xPos |
Receives the x-coordinate of the upper left corner of the image. |
yPos |
Receives the y-coordinate of the upper left corner of the image. |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Example:
LONG x, y;
ret = GetImagePosition(&x, &y);