MIL_ID FontContextOcrId, | //in |
MIL_INT64 Operation, | //in |
MIL_INT64 OperationFlag | //in |
This function physically modifies the polarity and sizing of the font of an OCR font context.
Specifies the type of operation to perform. This parameter can be set to one or more of the following values:
For specifying the type of
operation
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_INVERT |
Physically inverts the character representation of the font (for example, if the foreground is white, this will change it to black). |
||||||||||||||||||||||||||||||||||||||
M_RESIZE |
Scales the font. (more details...) |
Specifies the interpolation mode for the function. This parameter can be set to one of the following:
For specifying the interpoaltion
mode
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_BILINEAR. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_BICUBIC |
Sets the interpolation mode to bicubic interpolation. |
||||||||||||||||||||||||||||||||||||||
M_BILINEAR |
Sets the interpolation mode to bilinear interpolation. |
||||||||||||||||||||||||||||||||||||||
M_NEAREST_NEIGHBOR |
Sets the interpolation mode to nearest neighbor interpolation. |
Header | Include mil.h. |
Library | Use mil.lib; milocr.lib. |
DLL | Requires mil.dll; milocr.dll. |