imaqDeleteChar

NI Vision for LabWindows/CVI Function

imaqDeleteChar

Usage

int imaqDeleteChar(CharSet* set, int index);

Purpose

Deletes a character from the trained character set.

Parameters

Name

Type

Description

set CharSet* The character set this function operates on. To create a character set, use imaqCreateCharSet(). This parameter is required and cannot be NULL.
index int The index of a character in the trained character set to delete. Set this parameter to IMAQ_ALL_CHARACTERS to clear the entire trained character set.

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