imaqGetROIColor

NI Vision for LabWindows/CVI Function

imaqGetROIColor

Usage

int imaqGetROIColor(const ROI* roi, RGBValue* roiColor);

Purpose

Returns the color of a region of interest (ROI).

Parameters

Name

Type

Description

roi const ROI* The ROI from which the function gets color information.
roiColor RGBValue* On return, the color of the ROI. This parameter is required and cannot be NULL.

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().