imaqSetContourColor

NI Vision for LabWindows/CVI Function

imaqSetContourColor

Usage

int imaqSetContourColor(ROI* roi, ContourID id, const RGBValue* color);

Purpose

Sets the color of a contour.

Parameters

Name

Type

Description

roi ROI* The region of interest (ROI) containing the contour whose color the function sets.
id ContourID The ContourID of the contour whose color the function sets.
color const RGBValue* The color to which the function sets the contour. 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().