Command property:


Synchronous command.



Command action:


Perform a OCR recognition operation.


Syntax:


<command name="getcolor" PatternName="[String]" />


Parameters:

Name

Mandatory

Description

Format

PatternName

Yes

Color Pattern name, set during pattern creation

String



Reply:


If the color is in the color table, the output is:

<command valid="true" Color="[String]" />


If the color is not in the color table, the output is:

<command valid="true" R="[Integer]" G="[Integer]" B="[Integer]" />


Color recognition fail:


If the color recognition fails, the system reply with:


<command valid="false" error="[string]" />



Command purpose:


This command is used during standard issuing, to recognize a color.

Created with the Personal Edition of HelpNDoc: Free help authoring tool