MIL_ID ContextDmrId, | //in |
MIL_INT64 Operation, | //in |
MIL_INT64 LabelOrIndex, | //in |
MIL_TEXT_PTR Name, | //in-out |
MIL_INT *ValuePtr, | //out |
MIL_INT64 ControlFlag | //in |
This function allows you to perform name operations for fonts and string models in a SureDotOCR context. Use this function to set the name of a font or string model, release the name of a font or string model, or retrieve either the label or index of a font or string model based on its name. These operations allow you to more easily manage your data; they do not impact how strings are processed and read.
Specifies the identifier of the SureDotOCR context containing the font or string model with which to perform the name operation. The context must have been previously allocated on the system using MdmrAlloc().
Specifies the name operation to perform. Set this parameter to one of the values below. Unless otherwise specified, the LabelOrIndex parameter can specify a font or string model, the Name parameter must specify the name information related to the operation, and the ValuePtr parameter must specify the address at which to write the information requested by the name operation.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the index of the font, based on the specified name. Set the LabelOrIndex parameter to M_DEFAULT. (summarize)Retrieves the index of the font, based on the specified name. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the label of the font, based on the specified name. Set the LabelOrIndex parameter to M_DEFAULT. (summarize)Retrieves the label of the font, based on the specified name. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the name, and name length, of the specified font or string model. Use the Name parameter to retrieve the name. Use the ValuePtr parameter to retrieve the length of the name. (summarize)Retrieves the name, and name length, of the specified font or string model. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the index of the string model, based on the specified name. Set the LabelOrIndex parameter to M_DEFAULT. (summarize)Retrieves the index of the string model, based on the specified name. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the label of the string model, based on the specified name. Set the LabelOrIndex parameter to M_DEFAULT. (summarize)Retrieves the label of the string model, based on the specified name. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the name of the font or string model, or releases the name of the font or string model. When setting a name, ensure it is not already used. All font names must be unique among font names and all string model names must be unique among string model names. When releasing a name, set the Name parameter to M_NULL. Once released, you can use the name again. (summarize)Sets the name of the font or string model, or releases the name of the font or string model. (more details...) |
Specifies the label or index value of the font or string model with which to perform the name operation. Set this parameter to M_DEFAULT when not required by the name operation.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a font by indicating its index. (summarize)Specifies a font by indicating its index. (more details...) |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Set this parameter to the following: |
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a font by indicating its label. (summarize)Specifies a font by indicating its label. (more details...) |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Set this parameter to the following: |
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a string model by indicating its index. (summarize)Specifies a string model by indicating its index. (more details...) |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Set this parameter to the following: |
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a string model by indicating its label. (summarize)Specifies a string model by indicating its label. (more details...) |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Set this parameter to the following: |
|||||||||||||||||||||||||||||||||||||||
|
Specifies the name. Use this parameter to set, get, or release the name, depending on the name operation. If the operation is getting a label and it fails, SureDotOCR returns 0. If the operation is getting an index and it fails, SureDotOCR returns -1. To release the name of a font or string model, set this parameter to M_NULL and specify M_SET_NAME.
Header | Include mil.h. |
Library | Use mil.lib; mildmr.lib. |
DLL | Requires mil.dll; mildmr.dll. |