imaqSetCurrentTool

NI Vision for LabWindows/CVI Function

imaqSetCurrentTool

Usage

int imaqSetCurrentTool(Tool currentTool);

Purpose

Sets the currently selected tool in the tool window.

Parameters

Name

Type

Description

currentTool Tool The tool to make the selected region tool.

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