imaqSetWindowROI
Usage
int imaqSetWindowROI(int windowNumber, const ROI* roi);
Purpose
Sets the region of interest (ROI) associated with a given window.
Parameters
Name
|
Type
|
Description
|
---|---|---|
windowNumber | int | The window number of the image window. |
roi | const ROI* | The ROI to associate with the window. Set this parameter to NULL to remove any ROIs from the window. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |