get_part ( : : WindowHandle : Row1, Column1, Row2, Column2 )

Get the image part.

get_part returns the upper left and lower right corner of the image part shown in the window. The image part can be changed with the procedure set_part (Default is the whole image).


Parameters

WindowHandle (input_control)
window -> integer
Window_id.

Row1 (output_control)
rectangle.origin.y -> integer
Row index of the image part's upper left corner.

Column1 (output_control)
rectangle.origin.x -> integer
Column index of the image part's upper left corner.

Row2 (output_control)
rectangle.corner.y -> integer
Row index of the image part's lower right corner.

Column2 (output_control)
rectangle.corner.x -> integer
Column index of the image part's lower right corner.


Result

get_part returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception handling is raised.


Parallelization Information

get_part is reentrant and processed without parallelization.


Possible Successors

set_part, disp_region, disp_image


See also

set_part, disp_image, disp_region, disp_color


Module

System



Copyright © 1996-2005 MVTec Software GmbH