| Customize Help
| Save Settings

MocrPreprocess



Function Map
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 which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
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
Click to summarizeValue Description
Click to summarize 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