Home > Function descriptions > History back  Previous chapter  Next chapter  Print  

GetImagePos

uEye ActiveX Manual Version 4.00

GetImagePos

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);


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com