imaqGetContourColor
Usage
int imaqGetContourColor(const ROI* roi, ContourID id, RGBValue* contourColor);
Purpose
Returns the color of a contour.
Parameters
|
Name
|
Type
|
Description
|
|---|---|---|
| roi | const ROI* | The region of interest (ROI) containing the contour from which the function gets color information. |
| id | ContourID | The ContourID of the contour from which the function gets color information. |
| contourColor | RGBValue* | On return, the color of the contour. |
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(). |