imaqSetWindowMaxContourCount

NI Vision for LabWindows/CVI Function

imaqSetWindowMaxContourCount

Usage

int imaqSetWindowMaxContourCount(int windowNumber, unsigned int maxContourCount);

Purpose

Sets the maximum number of region of interest (ROI) contours that can be drawn on an image window.

Parameters

Name

Type

Description

windowNumber int The window number of the image window.
maxContourCount unsigned int The maximum number of contours the ROI this image window contains can have.

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