| MIL 10 Reference
| Customize Help
| Save Settings

MocrPreprocess



See also
Availability
Not available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
Synopsis
Preprocess an OCR font context.
Syntax
void MocrPreprocess(
MIL_ID FontContextOcrId, //in
MIL_INT64 ControlFlag //in
)
Description

This function preprocesses the specified OCR font context. This function must be called before any read or verify operation and after all the control and constraints are set to speed up all subsequent read or verify operations. Note that preprocessing will be done automatically during the first read or verify operation if this function is not explicitly called.

Each time a font-specific control or target constraint is changed the OCR font context should be preprocessed. To learn if the OCR font context requires preprocessing, call MocrInquire() with M_PREPROCESSED.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameters
FontContextOcrId

Specifies the OCR font context identifier.

ControlFlag

Specifies the type of operation to perform. This parameter must be set to the following value.

function map For specifying the type of operation to perform
CollapseValue Description
Collapse M_DEFAULT

Preprocesses the OCR font context.

Compilation information
Header Include mil.h.
Library Use mil.lib; milocr.lib.
DLL Requires mil.dll; milocr.dll.
DEFAULT