imaqAddLineContour
Usage
ContourID imaqAddLineContour(ROI* roi, Point start, Point end);
Purpose
Creates a new line ROI contour and adds the line to the provided ROI.
Parameters
|
Name
|
Type
|
Description
|
|---|---|---|
| roi | ROI* | The ROI to contain the new contour. |
| start | Point | The pixel location of the start of the line. |
| end | Point | The pixel location of the end of the line. |
Return Value
| Type |
Description |
|---|---|
| ContourID | On success, this function returns a ContourID for the contour. You can use the ContourID to reference the contour within the containing ROI. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |