Click here to show toolbars of the Web Online Help System: show toolbars |
Table: | For the context or a specific string |
Table: | For the context |
Table: | For a specific string |
Table: | For a specific font |
Table: | For a font-based or a fontless context |
Table: | For the result buffer |
MIL_ID ContextOrResultId, | //in |
MIL_INT Index, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function sets the specified control for a String Reader context, for one (or all) of the specified string models or fonts contained therein, or a result buffer. These settings control the execution of MstrRead() operations. All the control type settings can be inquired using MstrInquire().
Changing certain control type settings might require preprocessing the String Reader context again, using MstrPreprocess(). To know if the String Reader context needs to be preprocessed, call MstrInquire() with M_PREPROCESSED.
Unless otherwise specified, the control type settings are applicable to both font-based and fontless contexts.
Specifies the String Reader context or result buffer whose settings to modify. The String Reader context must have been previously allocated on the system using MstrAlloc(). The String Reader result buffer must have been previously allocated on the system using MstrAllocResult().
Specifies that the String Reader context, a specific font, a specific string model, or a result buffer is controlled. Set this parameter to one of the following values.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to apply the control settings to a font. |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
This parameter specifies the index of the font. You can set this parameter to one of the following: |
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to apply the control settings to a string. |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
This parameter specifies the index of the string. You can set this parameter to one of the following: |
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that a general setting of a String Reader context will be controlled. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that a general setting of a String Reader result buffer will be controlled, if one is specified. |
Specifies the setting to change.
See the Parameter associations section for possible values that can be specified.
Specifies the setting's new value.
See the Parameter associations section for possible values that can be specified.
The tables below list possible values for the ControlType and ControlValue parameters.
The following ControlType and corresponding ControlValue parameter settings can be specified for either the String Reader context (M_CONTEXT) or each specific string in the String Reader context (M_STRING_INDEX()).
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets either the maximum (total) number of all strings that can be read with a String Reader context (M_CONTEXT), or the maximum number of a specific string (M_STRING_INDEX()) that can be read with a String Reader context. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 1. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that all strings will be read. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the maximum number of strings that can be read. |
The possible ControlType and corresponding ControlValue parameter settings for the String Reader context (M_CONTEXT) are:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Disables the specified character in the fontless context. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that no characters will be read. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the ASCII value of the character to disable. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Enables the specified character in the fontless context. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that all characters will be read. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the ASCII value of the character. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the type of character encoding used by the String Reader context. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_ASCII. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies an 8-bit ASCII standard. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a 16-bit Unicode standard. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Adds an empty font to the String Reader context. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_USER_DEFINED. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a user-defined type of font. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Deletes a font from the String Reader context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_ALL. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that all fonts will be deleted. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the index of the font to delete. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the width (X-size) of the widest enabled character in the fontless context. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 65 pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the maximum character width, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the width (X-size) of the narrowest enabled character in the fontless context. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 6 pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the minimum character width, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the minimum contrast between a character in the target image and its background, in order for the character to be read by MstrRead(). INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 15. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the minimum contrast. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the height which will be the reference for M_MIN_CHAR_SIZE_X, M_MAX_CHAR_SIZE_X, and M_REF_CHAR_THICKNESS. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 46 pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the height, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the thickness (stroke width) of enabled characters in the fontless context. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 6 pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the thickness, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to perform calculations specific to angular-range search strategies, for characters. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies not to perform calculations specific to angular-range search strategies. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to perform calculations specific to angular-range search strategies. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to perform calculations specific to angular-range skew search strategies, for characters. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies not to perform calculations specific to angular-range skew search strategies. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to perform calculations specific to angular-range skew search strategies. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to search for the string angle. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_ENABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies not to search for the string angle. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to search for the string angle. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the character value to use as a space character within the formatted string or text that will be read. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is numerical ASCII code 32. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies no space character. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the space character, as its numerical code (ASCII or Unicode). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the search and read speed of the MstrRead() operation. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_MEDIUM. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a high speed. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a medium speed. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Stops the current string expert operation. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Implements the default behavior. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Stops the current string read operation. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Implements the default behavior. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Adds a string model to the String Reader context. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_USER_DEFINED. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a user-defined type of string model. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Deletes a string from the String Reader context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_ALL. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that all strings will be deleted. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the index of the string to delete. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the character value to use as a string separator within the formatted text that will be read. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is numerical ASCII code 10. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies no separator character. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the separator character, as its numerical code (ASCII or Unicode). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the number of character thickening iterations. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the number of character thickening iterations. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the threshold method of the character blob extraction. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_LOCAL_WITH_RESEGMENTATION. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies local thresholding that uses only one threshold step that is automatically computed by the module. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies local thresholding that uses multiple threshold steps and split and merge techniques. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies global thresholding that uses the threshold value set with M_THRESHOLD_VALUE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the global threshold value when M_THRESHOLD_MODE is set to M_USER_DEFINED (otherwise it is ignored). INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_AUTO_COMPUTE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to automatically compute the global threshold value. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the threshold value. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the maximum read time for MstrRead(), in msec. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 2000.0 msec. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies an infinite amount of read time. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the maximum read time, in msec. |
The possible ControlType and corresponding ControlValue parameter settings for a specific string (M_STRING_INDEX()) are:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the acceptance level for the character score. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 50.0%. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies an acceptable score, as a percentage. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the factor used to determine the maximum acceptable aspect ratio for the characters in the string. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 1.1. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the factor that determines the maximum aspect ratio of the characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the factor used to determine the minimum acceptable aspect ratio for the characters in the string. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 0.9. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the factor that determines the minimum aspect ratio of the characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the acceptance level for the character's homogeneity score. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 50.0%. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies an acceptable score, as a percentage. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the maximum baseline deviation that all characters defined in the font can have in the target image. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 10. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the character's maximum baseline deviation within the string model. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the factor used to determine the upper limit (maximum permitted scale) of the scale range for the characters in the string. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 1.1. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the factor that determines the maximum scale of the characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the factor used to determine the lower limit (minimum permitted scale) of the scale range for the characters in the string. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 0.9. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the factor that determines the minimum scale of the characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the acceptance level for the character's similarity score. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 50.0%. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies an acceptable score, as a percentage. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the foreground color of the string. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_FOREGROUND_BLACK. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that black is the foreground color of the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the foreground color of the string can be either black or white. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that white is the foreground color of the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the maximum number of consecutive space characters allowed in the string. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 3. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the maximum number of consecutive space characters. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the acceptance level for the string score. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 50.0%. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies an acceptable score, as a percentage. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the nominal angle of the string. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_ACCORDING_TO_REGION. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to set the nominal angle to the angle of the rectangular ROI (set using MbufSetRegion()) in the image. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the lower limit of the string's angular range, relative to the nominal angle (MstrControl() with M_STRING_ANGLE). INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 10.0°. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the lower limit of the angular range, in degrees. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the upper limit of the angular range, relative to the nominal angle (MstrControl() with M_STRING_ANGLE). INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 10.0°. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the upper limit of the angular range, in degrees. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the nominal aspect ratio of the string. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 1.0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the ratio of pixel width to pixel height of the target. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the factor used to determine the upper limit of the string's aspect ratio. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 1.25. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the factor that determines the maximum aspect ratio of the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the factor used to determine the lower limit of the string's aspect ratio. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 0.8. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the factor that determines the minimum aspect ratio of the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the certainty level for the string score. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 70.0%. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the certainty level for the string score, as a percentage. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the nominal scale of the string. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 1.0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the value of the scale. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the factor used to determine the upper limit (maximum permitted scale) of the string's scale range. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 2.0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the factor that determines the minimum scale of the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the factor used to determine the lower limit (minimum permitted scale) of the string's scale range. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 0.5. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the factor that determines the minimum scale of the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the maximum string size (number of characters) of the string model. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_INFINITE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies no maximum string size. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the maximum string size. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the minimum string size (number of characters) of the string model. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 1. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the minimum string size. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the acceptance level for the string target score. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 50.0%. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies an acceptable string target score, as a percentage. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the certainty level for the string target score. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 70.0%. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the certainty level for the string target score, as a percentage. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets a unique user-defined label for the specified string model. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_NO_LABEL. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that no user label is associated with the string model. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the user label of the string model. |
The possible ControlType and corresponding ControlValue parameter settings for a specific font (M_FONT_INDEX()) are:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the margin in the X-direction, between the character box and the drawing box. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 3. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the horizontal margin, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the margin in the Y-direction, between the character box and the drawing box. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 3. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the vertical margin, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets a unique user-defined label for the specified font. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_NO_LABEL. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that no user label is associated with the font. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the user label of the font. |
The following ControlType and corresponding ControlValue parameter settings can be specified for either a font-based context or for a fontless context.
Note that the Index parameter must be set to M_FONT_INDEX() for a font-based context or to M_CONTEXT for a fontless context.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the width of the space character of the font. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_MEAN_CHAR_WIDTH. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the width of the space character is infinite. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the width of the space character is equal to the maximum character X-size of the font. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the width of the space character is equal to the average character X-size of the font. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the width of the space character is equal to the minimum character X-size of the font. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the width of the space character is equal to a quarter of the maximum character width of the font. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the width of the space character, in pixels. |
The following ControlType and corresponding ControlValue parameter settings are used to control settings of the result buffer.
Note that the Index parameter must be set to M_GENERAL.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to return results in pixels or world units. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_ACCORDING_TO_CALIBRATION. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that results are returned in world units if the result was calculated on an image associated with a camera calibration context; otherwise, specifies that results are returned in pixel units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that results are returned in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that results are returned in world units, with respect to the relative coordinate system. |
void MstrControlInt64
(MIL_ID ContextOrResultId,
MIL_INT Index,
MIL_INT64 ControlType,
MIL_INT64 ControlValue)
Parameters
ContextOrResultId See ContextOrResultId of the main function for a description. Index See Index of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
void MstrControlDouble
(MIL_ID ContextOrResultId,
MIL_INT Index,
MIL_INT64 ControlType,
MIL_DOUBLE ControlValue)
Parameters
ContextOrResultId See ContextOrResultId of the main function for a description. Index See Index of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
Header | Include mil.h. |
Library | Use mil.lib; milstr.lib. |
DLL | Requires mil.dll; milstr.dll. |