Syntax
INT is_SetImagePos (HIDS hf, INT x, INT y)
Description
is_SetImagePos() defines the starting point of the digitalization. When used with the is_SetImageSize() function, is_SetImagePos() allows you to cut out an area of interest from the full image. The x and y parameters create an offset in relation to the top left corner of the image.
Parameters
hf |
Frame grabber handle |
x |
Horizontal position 1...767 (PAL) 1...639 (NTSC) |
IS_GET_IMAGE_POS_X |
Returns the current x position |
IS_GET_IMAGE_POS_Y |
Returns the current y position |
y |
Vertical position 1...575 (PAL) 1...479 (NTSC) |
Return value
Current settings when called with IS_GET_IMAGE_POS_X and IS_GET_IMAGE_POS_Y as a parameter for x, else IS_SUCCESS, IS_NO_SUCCESS