imaqMoveContour

NI Vision for LabWindows/CVI Function

imaqMoveContour

Usage

int imaqMoveContour(ROI* roi, ContourID id, int deltaX, int deltaY);

Purpose

Moves a contour.

Parameters

Name

Type

Description

roi ROI* The region of interest (ROI) containing the contour to move.
id ContourID The ContourID of the contour to move.
deltaX int The amount to move the contour in the x direction.
deltaY int The amount to move the contour in the y direction.

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