MIL_ID ContextOrResultCodeId, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function changes the setting of a specified code context, code model, or code result buffer.
Specifies the identifier of the code context, code model, or code result buffer.
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 a code context to control an McodeRead() operation.
Code context settings for McodeRead()
operations
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_STOP_READ |
Stops the current read operation. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Implements the default behavior. |
||||||||||||||||||||||||||||||||||||||
M_TOTAL_NUMBER |
Sets the maximum number of codes to read in one source image. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ALL. |
||||||||||||||||||||||||||||||||||||||
M_ALL |
Specifies to read all code occurrences in the source image, up to the maximum number of occurrences to read of each code model (M_NUMBER). |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the maximum number of codes to read in the source image. |
The following ControlType and corresponding ControlValue parameter settings for a code context, to control McodeGrade() operations.
Code context settings for McodeGrade()
operations
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_ABSOLUTE_APERTURE_SIZE |
Sets the absolute size (diameter) of the aperture. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the absolute aperture size, relative to the input coordinate system specified using M_ABSOLUTE_APERTURE_SIZE_INPUT_UNITS. |
||||||||||||||||||||||||||||||||||||||
M_ABSOLUTE_APERTURE_SIZE_INPUT_UNITS |
Sets the units with which to interpret the M_ABSOLUTE_APERTURE_SIZE control type. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_PIXEL. |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies to interpret the value in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies to interpret the value in world units, with respect to the relative coordinate system. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_AIMDPM_CALIBRATION_RESULTS |
Sets the expected reflectance and mean light values derived during the reflectance calibration phase. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
Result buffer identifier |
Specifies the result buffer used during the reflectance calibration phase. |
||||||||||||||||||||||||||||||||||||||
M_APERTURE_MODE |
Sets the way in which the aperture size is determined. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_RELATIVE. |
||||||||||||||||||||||||||||||||||||||
M_ABSOLUTE |
Specifies to use the absolute aperture size, set using M_ABSOLUTE_APERTURE_SIZE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies to disable the aperture. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_RELATIVE |
Specifies to use a relative aperture size, based on the cell size (using M_CELL_SIZE...) and the relative aperture factor (using M_RELATIVE_APERTURE_FACTOR). |
||||||||||||||||||||||||||||||||||||||
M_EXTENDED_AREA_REFLECTANCE_CHECK |
Sets whether the grading must perform an additional reflectance check over an extended area beyond the quiet zone. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies to disable the additional reflectance check. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to enable the additional reflectance check. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GRADING_STANDARD |
Sets the grading standard to use when performing a grading operation. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_AIMDPM_GRADING |
Specifies to use the ISO/IEC TR 29158:2011 specification. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ISO_GRADING |
Specifies to use the ISO standard. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_INSPECTION_BAND_RATIO |
Sets the height of the inspection band as a percentage of the average bar height. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default percentage. (more details...) |
||||||||||||||||||||||||||||||||||||||
0.0 < Value < 100.0 |
Specifies the percentage of the average bar height to set as the height of the inspection band. |
||||||||||||||||||||||||||||||||||||||
M_MAXIMUM_CALIBRATED_REFLECTANCE |
Sets the maximum possible grayscale value in the target image. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 255. |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 255 |
Specifies the maximum calibrated reflectance. |
||||||||||||||||||||||||||||||||||||||
M_MEAN_LIGHT_CALIBRATION |
Sets the expected mean light (MLcal). INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value. (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 255 |
Specifies the mean intensity. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MINIMUM_CALIBRATED_REFLECTANCE |
Sets the minimum possible grayscale value in the target image. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 255 |
Specifies the minimum calibrated reflectance. |
||||||||||||||||||||||||||||||||||||||
M_NUMBER_OF_SCANLINES |
Sets the number of scanlines inside the inspection band to inspect during the grading operation, after the code has been located. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ALL |
Specifies to use all possible scanlines inside the inspection band. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the number of scanlines to inspect. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PIXEL_SIZE_IN_MM |
Sets the scale between a pixel and its physical measurement in mm. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_UNKNOWN. |
||||||||||||||||||||||||||||||||||||||
M_UNKNOWN |
Specifies that the scale between a pixel and its physical measurement is not known, in mm per pixel units. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the scale between a pixel and its physical measurement, in mm per pixel units. |
||||||||||||||||||||||||||||||||||||||
M_REFLECTANCE_CALIBRATION |
Sets the expected reflectance value (Rcal). INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value. (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 255 |
Specifies the reflectance value. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_RELATIVE_APERTURE_FACTOR |
Sets the aperture factor to use when M_APERTURE_MODE is set to M_RELATIVE. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_AUTO. |
||||||||||||||||||||||||||||||||||||||
M_AUTO |
Specifies that the aperture factor is chosen according to ISO 15416 for all supported code types except 2D matrix code types, which are chosen according to ISO 15415. (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 2 |
Specifies the aperture factor. |
||||||||||||||||||||||||||||||||||||||
M_SYSTEM_RESPONSE_CALIBRATION |
Sets the System Response value derived during the reflectance calibration phase (SRcal). INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0.0 |
Specifies the System Response value for the reference code. |
||||||||||||||||||||||||||||||||||||||
M_SYSTEM_RESPONSE_TARGET |
Sets the System Response value derived during the target verification phase (SRtarget). INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0.0 |
Specifies the System Response value for the target code. |
The following ControlType and ControlValue parameter settings can be specified for a code context, to control McodeRead() and McodeGrade() operations.
Code context settings for McodeRead() and
McodeGrade() operations
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_MINIMUM_CONTRAST |
Sets the minimum possible contrast between the foreground and background in the target image for 1D codes (excluding Planet and Postnet) when using the M_ADAPTIVE threshold mode. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 50. |
||||||||||||||||||||||||||||||||||||||
1 <= Value <= 255 |
Specifies the minimum contrast. |
||||||||||||||||||||||||||||||||||||||
M_SCANLINE_HEIGHT |
Sets the height (or thickness) of the scanline. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that the scanline height is based on the value of M_SPEED. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the scanline height, relative to the input coordinate system specified using M_SCANLINE_INPUT_UNITS. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SCANLINE_INPUT_UNITS |
Sets the units with which to interpret the M_SCANLINE_HEIGHT and M_SCANLINE_STEP control types. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_PIXEL. |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies to interpret the values in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies to interpret the values in world units, with respect to the relative coordinate system. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SCANLINE_STEP |
Sets the scanline step. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that the scanline step is based on the value of M_SPEED. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the scanline step, relative to the input coordinate system specified using M_SCANLINE_INPUT_UNITS. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SEARCH_ANGLE_MODE |
Sets whether to enable the search angular range algorithm for the code context. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ENABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that the search angular range algorithm is not used. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies that the search angular range algorithm is used. |
||||||||||||||||||||||||||||||||||||||
M_SPEED |
Sets the search speed. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_MEDIUM. |
||||||||||||||||||||||||||||||||||||||
M_HIGH |
Specifies a high search speed. |
||||||||||||||||||||||||||||||||||||||
M_LOW |
Specifies a low search speed. |
||||||||||||||||||||||||||||||||||||||
M_MEDIUM |
Specifies a medium search speed. |
||||||||||||||||||||||||||||||||||||||
M_VERY_HIGH |
Specifies a very high search speed. |
||||||||||||||||||||||||||||||||||||||
M_VERY_LOW |
Specifies a very low search speed. |
||||||||||||||||||||||||||||||||||||||
M_THRESHOLD_MODE |
Sets the threshold mode used to internally binarize the source image. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_GLOBAL_SEGMENTATION. |
||||||||||||||||||||||||||||||||||||||
M_ADAPTIVE |
Specifies to use a fast dynamic local threshold. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GLOBAL_SEGMENTATION |
Specifies to use a global threshold value. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GLOBAL_WITH_LOCAL_RESEGMENTATION |
Specifies that the source image will be globally thresholded and then the edges in the binarized image are resegmented according to the intensities of the surrounding bars and spaces in the original source image. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_THRESHOLD_VALUE |
Sets the threshold value used to internally binarize the source image, depending on the specified threshold mode. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_AUTO_COMPUTE. |
||||||||||||||||||||||||||||||||||||||
M_AUTO_COMPUTE |
Specifies the threshold value automatically. |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 255 |
Specifies the threshold value. |
||||||||||||||||||||||||||||||||||||||
M_TIMEOUT |
Specifies the maximum decoding time for a read or grading operation. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 2000 msec. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that there is no maximum decoding time. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the maximum decoding time, in msec. |
The following ControlType and corresponding ControlValue parameter settings can be specified for a code model, to control McodeRead() operations. If you pass a code context to the ContextOrResultCodeId parameter, the specified control type setting is applied to all the code models in the context. If none of the code models support the specified control type, an error occurs. If only some code models do not support the specified control type, the control type setting is ignored for these code models.
Code model settings for McodeRead()
operations
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_CHECK_QUIET_ZONE |
Sets whether the presence of the quiet zone is necessary for a successful read operation of this code type. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ENABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that a quiet zone is not necessary. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies that a quiet zone is necessary. |
||||||||||||||||||||||||||||||||||||||
M_ECC_CORRECTED_NUMBER |
Forces McodeRead() to perform a more robust read operation to minimize the number of errors to correct. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to perform a more robust read operation. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to perform a more robust read operation. |
||||||||||||||||||||||||||||||||||||||
M_NUMBER |
Sets the maximum number of codes to read for the specified code model. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 1. |
||||||||||||||||||||||||||||||||||||||
M_ALL |
Specifies that all code model occurrences are read up to the maximum number limited by M_TOTAL_NUMBER. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the maximum number of codes to read for the specified code model. |
||||||||||||||||||||||||||||||||||||||
M_POSITION_ACCURACY |
Sets the accuracy of positional results. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_LOW. |
||||||||||||||||||||||||||||||||||||||
M_HIGH |
Specifies to report the positional results of code read operations with high accuracy. |
||||||||||||||||||||||||||||||||||||||
M_LOW |
Specifies to report the positional results of code read operations with low accuracy. |
The following ControlType and corresponding ControlValue parameter settings can be specified for a code model to control McodeRead() and McodeGrade() operations. If you pass a code context to the ContextOrResultCodeId parameter, the specified control type setting is applied to all the code models in the context. If none of the code models support the specified control type, an error will occur. If only some code models do not support the specified control type, the control type setting is ignored for these code models.
Code model settings for McodeRead() and
McodeGrade() operations
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_BEARER_BAR |
Sets whether bearer bars run along the top and bottom of the codes to read (such as, the edge of a sticker). INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ABSENT. |
||||||||||||||||||||||||||||||||||||||
M_ABSENT |
Specifies that no bearer bars are above and below the code. |
||||||||||||||||||||||||||||||||||||||
M_PRESENT |
Specifies that there are bearer bars above an below the code. |
||||||||||||||||||||||||||||||||||||||
M_CELL_NUMBER_X_MAX |
Sets the maximum number of cells for which to search, in the X-direction of a 2D code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies to search for codes with any number of cells. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the maximum number of cells for which to search. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CELL_NUMBER_X_MIN |
Sets the minimum number of cells for which to search, in the X-direction of a 2D code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies to search for codes with any number of cells. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the minimum number of cells for which to search. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CELL_NUMBER_Y_MAX |
Sets the maximum number of cells for which to search, in the Y-direction of a 2D code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies to search for codes with any number of cells. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the maximum number of cells for which to search. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CELL_NUMBER_Y_MIN |
Sets the minimum number of cells for which to search, in the Y-direction of a 2D code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies to search for codes with any number of cells. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the minimum number of cells for which to search. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CHECK_FINDER_PATTERN |
Sets whether checking for a false Data Matrix pattern is enabled. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that the Code module will not check for false Data Matrix code types. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies that the Code module will check for false Data Matrix code types. |
||||||||||||||||||||||||||||||||||||||
M_CODE_FLIP |
Sets whether the code needs to be flipped or read in the opposite direction to be read properly. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_NO_FLIP. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Allows MIL to decide whether the code needs to be flipped or read in the opposite direction to be read properly. |
||||||||||||||||||||||||||||||||||||||
M_FLIP |
Specifies that the code needs to be flipped or read in the opposite direction to be read properly. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NO_FLIP |
Specifies that the code does not need to be flipped or read in the opposite direction. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DATAMATRIX_SHAPE |
Sets the shape of the Data Matrix code type. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies that the Data Matrix code type can be any shape. |
||||||||||||||||||||||||||||||||||||||
M_RECTANGLE |
Specifies that the Data Matrix code has a rectangular shape. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SQUARE |
Specifies that the Data Matrix has a square shape. |
||||||||||||||||||||||||||||||||||||||
M_DISTORTION |
Sets the distortion compensation algorithm that increases the robustness of read and grading operation son distorted codes. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_NONE. |
||||||||||||||||||||||||||||||||||||||
M_NONE |
Specifies not to use distortion compensation. |
||||||||||||||||||||||||||||||||||||||
M_PERSPECTIVE_UNEVEN_GRID_STEP |
Specifies to use an algorithm that reads or grades Data Matrix codes that have perspective distortion and/or different column widths or row heights. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNEVEN_GRID_STEP |
Specifies to use an algorithm that reads or grades Aztec, Data Matrix, or QR code types that have different column widths or row heights and/or slight perspective distortion. |
||||||||||||||||||||||||||||||||||||||
M_DOT_SPACING |
Sets the distance between 2 dots in a matrix code type composed of dots. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies no spacing. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the distance, relative to the input coordinate system specified using M_DOT_SPACING_INPUT_UNITS. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DOT_SPACING_INPUT_UNITS |
Sets the units with which to interpret the M_DOT_SPACING control type. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_PIXEL. |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies to interpret the value in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies to interpret the value in world units, with respect to the relative coordinate system. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FINDER_PATTERN_EXHAUSTIVE_SEARCH |
Sets whether to search for the L-shaped finder pattern (the gray boxed area in the following image) to help localize the Data Matrix code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies to not perform an exhaustive search. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to perform an exhaustive search. |
||||||||||||||||||||||||||||||||||||||
M_FINDER_PATTERN_INPUT_UNITS |
Sets the units with which to interpret the M_FINDER_PATTERN_MAX_GAP and M_FINDER_PATTERN_MINIMUM_LENGTH control types. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_PIXEL. |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies to interpret the values in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies to interpret the values in world units, with respect to the relative coordinate system. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FINDER_PATTERN_MAX_GAP |
Sets the maximum tolerable gap in the finder pattern of a Matrix code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_AUTO. |
||||||||||||||||||||||||||||||||||||||
M_AUTO |
Specifies that the maximum tolerable gap in the finder pattern is 6 times the minimum cell size specified using M_CELL_SIZE_MIN. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the maximum gap allowed, in input units specified using M_FINDER_PATTERN_INPUT_UNITS. |
||||||||||||||||||||||||||||||||||||||
M_FINDER_PATTERN_MINIMUM_LENGTH |
Sets the shortest acceptable length of either "arm" of the finder pattern of a Data Matrix code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_AUTO. |
||||||||||||||||||||||||||||||||||||||
M_AUTO |
Specifies that the minimum acceptable finder pattern "arm" length is 6 times the minimum cell size specified using M_CELL_SIZE_MIN. |
||||||||||||||||||||||||||||||||||||||
Value |
The minimum acceptable finder pattern "arm" length, in input units specified using M_FINDER_PATTERN_INPUT_UNITS. |
||||||||||||||||||||||||||||||||||||||
M_SEARCH_ANGLE |
Sets the nominal search angle. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.0. |
||||||||||||||||||||||||||||||||||||||
M_ACCORDING_TO_REGION |
Specifies that the nominal angle is set to the angle of the target image's ROI (MbufSetRegion()); Recall that for McodeGrade() and McodeRead(), the ROI must be rectangular. (more details...) |
||||||||||||||||||||||||||||||||||||||
0.0 <= Value <= 360.0 |
Specifies the nominal angle, in degrees, relative to the input coordinate system specified using M_SEARCH_ANGLE_INPUT_UNITS. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SEARCH_ANGLE_DELTA_NEG |
Sets the negative angular range of the search. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 5.0. |
||||||||||||||||||||||||||||||||||||||
0.0 <= Value <= 180.0 |
Specifies a negative angular range, in degrees, relative to the nominal angle set by M_SEARCH_ANGLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SEARCH_ANGLE_DELTA_POS |
Sets the positive angular range of the search. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 5.0. |
||||||||||||||||||||||||||||||||||||||
0.0 <= Value <= 180.0 |
Specifies a positive angular range, in degrees, relative to the nominal angle set by M_SEARCH_ANGLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SEARCH_ANGLE_INPUT_UNITS |
Sets the units with which to interpret the M_SEARCH_ANGLE control type. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_PIXEL. |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies to interpret the value in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies to interpret the value in world units, with respect to the relative coordinate system. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SEARCH_ANGLE_STEP |
Sets the angle increment/decrement used when searching for a 1D code through an angular range. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that no explicit increment/decrement is used. (more details...) |
||||||||||||||||||||||||||||||||||||||
0.1 <= Value <= 180.0 |
Specifies the explicit angle increment/decrement, in degrees. |
||||||||||||||||||||||||||||||||||||||
M_STRING_SIZE_MAX |
Sets the maximum size (number of characters) of the string encoded in the code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies that there is no maximum string size. |
||||||||||||||||||||||||||||||||||||||
1 <= Value <= 65535 |
Specifies the maximum string size. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_STRING_SIZE_MIN |
Sets the minimum size (number of characters) of the string encoded in the code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies that there is no minimum string size. |
||||||||||||||||||||||||||||||||||||||
1 <= Value <= 65535 |
Specifies the minimum string size. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SUB_TYPE |
Sets the particular code sub-types for which to search. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies to search for all of the code sub-types that can be specified for M_SUB_TYPE. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_EAN8 |
Specifies that the EAN 8 code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_EAN13 |
Specifies that the EAN 13 code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GS1_128 |
Specifies that the GS1-128 code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GS1_DATABAR_EXPANDED |
Specifies that the GS1 Databar Expanded code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GS1_DATABAR_EXPANDED_STACKED |
Specifies that the GS1 Databar Expanded Stacked code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GS1_DATABAR_LIMITED |
Specifies that the GS1 Databar Limited code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GS1_DATABAR_OMNI |
Specifies that the GS1 Databar omni code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GS1_DATABAR_STACKED |
Specifies that the GS1 Databar Stacked code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GS1_DATABAR_STACKED_OMNI |
Specifies that the GS1 Databar Stacked Omni code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GS1_DATABAR_TRUNCATED |
Specifies that the GS1 Databar Truncated code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UPC_A |
Specifies that the UPC-A code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UPC_E |
Specifies that the UPC-E code sub-type is enabled. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_USE_PRESEARCH |
Sets whether the localization operation is performed prior to the decoding step of an operation. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that the operation is not performed. |
||||||||||||||||||||||||||||||||||||||
M_FINDER_PATTERN_BASE |
Specifies that the localization operation is only performed on the base pattern of the Data Matrix code (an "L" starting at the top-most left corner, and ending on the bottom-most right corner of the code). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_STAT_BASE |
Specifies to localize the code within the image with the statistical characteristics of a 2D bar code (for example, local variance and the presence of a lot of edges). (more details...) |
The following ControlType and corresponding ControlValue parameter settings can be specified for a code model to control McodeRead(), McodeGrade() and McodeWrite() operations. If you pass a code context to the ContextOrResultCodeId parameter, the specified control type setting is applied to all the code models in the context. If none of the code models support the specified control type, an error occurs. If only some code models do not support the specified control type, the control type setting is ignored for these code models.
Code model settings for McodeRead(),
McodeGrade(), and McodeWrite() operations
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_CELL_NUMBER_X |
Sets the number of cells of a 2D code in the X-direction. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies to search for a code with any number of cells, when performing an McodeRead() or McodeGrade() operation. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the number of cells. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CELL_NUMBER_Y |
Sets the number of cells of a 2D code in the Y-direction. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ANY. |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies to search for a code with any number of cells, when performing an McodeRead() or McodeGrade() operation. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the number of cells. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CELL_SIZE_INPUT_UNITS |
Sets the units with which to interpret the M_CELL_SIZE_MAX and M_CELL_SIZE_MIN control types. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_PIXEL. |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies to interpret the values in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies to interpret the values in world units, with respect to the relative coordinate system. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CELL_SIZE_MAX |
Sets the maximum cell size. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies to select an appropriate size, automatically. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the maximum cell size, relative to the input coordinate system specified using M_CELL_SIZE_INPUT_UNITS. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CELL_SIZE_MIN |
Sets the minimum cell size. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default cell size, in pixels. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the minimum cell size, relative to the input coordinate system specified using M_CELL_SIZE_INPUT_UNITS. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENCODING |
Sets the type of encoding scheme. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies to use the default encoding scheme for the code type. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies any type of encoding scheme. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_ALPHA |
Specifies an encoding scheme that supports uppercase alphabetical characters, along with the space. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_ALPHANUM |
Specifies an encoding scheme that supports alphanumeric characters, as well as the space. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_ALPHANUM_PUNC |
Specifies a similar encoding scheme to M_ENC_ALPHANUM, except it also supports the following characters: (,), (-), (/) and (. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_ASCII |
Specifies an encoding scheme that supports ASCII characters. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_AUSTRALIA_MAIL_C |
Specifies an encoding scheme for a 4-state format used with the C encoding table by the Australian Mail service. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_AUSTRALIA_MAIL_N |
Specifies an encoding scheme for a 4-state format used with the N encoding table by the Australian Mail service. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_AUSTRALIA_MAIL_RAW |
Specifies an encoding scheme for a 4-state format used by the Australian Mail service. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_AZTEC_COMPACT |
Specifies an encoding scheme for a compact Aztec code. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_AZTEC_FULL_RANGE |
Specifies an encoding scheme for a full-range (not compact) Aztec code. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_AZTEC_RUNE |
Specifies an encoding scheme for an Aztec rune (the smallest version of an Aztec code). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_EAN8 |
Specifies an encoding scheme for a composite code whose 1D portion uses an EAN-8 format and whose 2D portion uses a MicroPDF417 format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_EAN8_ADDON |
Specifies an encoding scheme for a composite code whose 1D portion uses an EAN-8 format and whose 2D portion uses a MicroPDF417 format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_EAN13 |
Specifies an encoding scheme for a composite code whose 1D portion uses an EAN-13 format and whose 2D portion uses a MicroPDF417 format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_EAN13_ADDON |
Specifies an encoding scheme for an EAN-13 format with a supplemental 2 or 5 digit add-on. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_GS1_128_MICROPDF417 |
Specifies an encoding scheme for a composite code whose 1D portion uses a GS1 128 format and whose 2D portion uses a MicroPDF417 format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_GS1_128_PDF417 |
Specifies an encoding scheme for a composite code whose 1D portion uses a GS1 128 format and whose 2D portion uses a PDF417 format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_GS1_DATABAR_EXPANDED |
Specifies an encoding scheme that uses a GS1 Databar format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_GS1_DATABAR_EXPANDED_STACKED |
Specifies an encoding scheme that uses a GS1 Databar Expanded Stacked format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_GS1_DATABAR_LIMITED |
Specifies an encoding scheme that uses a GS1 Databar Limited format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_GS1_DATABAR_OMNI |
Specifies an encoding scheme that uses a GS1 Databar format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_GS1_DATABAR_STACKED |
Specifies an encoding scheme that uses a GS1 Databar Stacked format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_GS1_DATABAR_STACKED_OMNI |
Specifies an encoding scheme that uses a GS1 Databar Stacked Omni format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_GS1_DATABAR_TRUNCATED |
Specifies an encoding scheme that uses a GS1 Databar Truncated format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_ISO8 |
Specifies a similar encoding scheme as M_ENC_ASCII, but supports the extended ASCII character set. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_KOREA_MAIL |
Specifies an encoding scheme for a 4-state format used by the Korean Mail service. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_MODE2 |
Specifies an encoding scheme that requires a Structured Carrier Message. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_MODE3 |
Specifies an encoding scheme that requires a Structured Carrier Message. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_MODE4 |
Specifies an encoding scheme that requires a Free Format Message. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_MODE5 |
Specifies an encoding scheme that requires a Free Format Message. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_MODE6 |
Specifies an encoding scheme that requires a Free Format Message. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_NUM |
Specifies an encoding scheme that only supports numbers. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_QRCODE_MODEL1 |
Specifies an encoding scheme that uses an older version of the QR code format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_QRCODE_MODEL2 |
Specifies an encoding scheme that uses a newer version of the QR code format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_STANDARD |
Specifies different types of encoding schemes, depending on what code type is used. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_UK_MAIL |
Specifies an encoding scheme for a 4-state format used by the UK Mail service. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_UPCA |
Specifies an encoding scheme for a composite code whose 1D portion uses an UPC-A format and whose 2D portion uses a MicroPDF417 format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_UPCA_ADDON |
Specifies an encoding scheme for an UPC-A format with a supplemental 2 or 5 digit add-on. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_UPCE |
Specifies an encoding scheme for a composite code whose 1D portion uses an UPC-E format and whose 2D portion uses a MicroPDF417 format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_UPCE_ADDON |
Specifies an encoding scheme for an UPC_E format with a supplemental 2 or 5 digit add-on. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENC_US_MAIL |
Specifies an encoding scheme for a 4-state format used by the US Mail service. (more details...) |
||||||||||||||||||||||||||||||||||||||
5 <= Value <= 95 |
Specifies the minimum amount of the symbol that contains error correction information, as a percentage. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ERROR_CORRECTION |
Sets the type of error correction. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies to use the default error correction scheme for the code type. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ANY |
Specifies that the error correction type for read and grading operations is detected automatically. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_4STATE |
Specifies to use the Reed Solomon-based algorithm or a check digit type of error correction scheme, depending on the specification of the encoding. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_200 |
Specifies to use a Reed Solomon-based algorithm as an error correction scheme. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_CHECK_DIGIT |
Specifies to use an additional digit to check whether there is an error or not. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_COMPOSITE |
Specifies to use the default error correction scheme for the 1D and 2D portions of the composite code. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_H |
Specifies to use the highest-level error correction scheme. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_L |
Specifies to use the lowest-level error correction scheme. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_M |
Specifies to use a medium-low level error correction scheme. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_n |
Specifies an error correction algorithm that uses convolution coding. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_NONE |
Specifies no error correction. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_Q |
Specifies to use a medium-high level error correction scheme. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_REED_SOLOMON |
Specifies to use a Reed Solomon type of error correction scheme. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ECC_REED_SOLOMON_n |
Specifies to use a Reed Solomon type of error correction scheme. (more details...) |
||||||||||||||||||||||||||||||||||||||
5 <= Value <= 95 |
Specifies the minimum percentage of the symbol that contains error correction information. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_VALUE |
Sets the foreground color of the code. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_FOREGROUND_BLACK. |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_ANY |
Specifies the foreground color as black or white. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_BLACK |
Specifies that the foreground color is black. |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_WHITE |
Specifies that the foreground color is white. |
The following ControlType and corresponding ControlValue parameter settings can be specified for a code result buffer.
For a result buffer
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_RESULT_OUTPUT_UNITS |
Sets whether to return results in pixels or world units. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ACCORDING_TO_CALIBRATION. |
||||||||||||||||||||||||||||||||||||||
M_ACCORDING_TO_CALIBRATION |
Specifies that results are returned in world units if the result was calculated on an image associated with a calibration context; otherwise, specifies that results are returned in pixel units. |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies that results are returned in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies that results are returned in world units, with respect to the relative coordinate system. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_STRING_FORMAT |
Sets the format in which to return the string, retrieved using McodeGetResult() with M_STRING. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_AUTO_FORMAT. |
||||||||||||||||||||||||||||||||||||||
M_AUTO_FORMAT |
Specifies that the returned string is in the string format associated with the code type. |
||||||||||||||||||||||||||||||||||||||
M_GS1_HUMAN_READABLE |
Specifies that the returned string is in a format that is human-readable. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GS1_RAW_DATA |
Specifies that the returned string is in a raw data format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_JAPANESE |
[This is
only applicable to Windows]
Specifies that the returned string uses Japanese (Windows-932) encoding. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_KOREAN |
[This is
only applicable to Windows]
Specifies that the returned string uses Korean (Windows-949) encoding. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_LATIN |
[This is
only applicable to Windows]
Specifies that the returned string uses Latin (Windows-1252) encoding. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SIMPLIFIED_CHINESE |
[This is
only applicable to Windows]
Specifies that the returned string uses Simplified Chinese (Windows-936) encoding. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UPCE_COMPRESSED |
Specifies that the returned string is in the UPCE compressed string format. (more details...) |
void McodeControlInt64
(MIL_ID
ContextOrResultCodeId, MIL_INT64 ControlType,
MIL_INT64 ControlValue)
Parameters
ContextOrResultCodeId See ContextOrResultCodeId 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; milcode.lib. |
DLL | Requires mil.dll; milcode.dll. |