Data Matrix Read/Write Constants

This section details the constant values of the BiBrDM.OCX and BiBwDM.OCX controls.

BiBrDM.OCX contains the following error constants (in enumBiBrDMErrorCodes) :

·         BARCODEDMR_NO_ERROR (0) : No error occurred.

·         BARCODEDMR_PARAMETER_ERROR (-1) : Invalid parameters.

·         BARCODEDMR_MEMORY_ERROR (-2) : A memory error occurred (e.g. not enough memory, or GlobalLock error, etc.).

·         BARCODEDMR_BARCODE_NOT_FOUND (-3) : Not any barcode found on the image.

BiBwDM.OCX contains the following error constants (in enumBiBwDMErrorCodes) :

·         BARCODEDMW_NO_ERROR (0) : No error occurred.

·         BARCODEDMW_PARAMETER_ERROR (-1) : Invalid parameters.

·         BARCODEDMW_MEMORY_ERROR (-2) : A memory error occurred (e.g. not enough memory, or GlobalLock error, etc.).

·         BARCODEDMW_DATASTREAM_TOO_LARGE (-3) : The input data stream is too large to convert it into a Data Matrix symbol.

·         BARCODEDMW_NOT_ENOUGH_SPACE (-4) : Not enough space on the image to display the Data Matrix.

BiBwDM.OCX contains the following rotation constants (in enumBiBwDMRotations) :

·         DM_ROTATION_0 (0) : Rotation degree : 0.

·         DM_ROTATION_90 (1) : Rotation degree : 90.

·         DM_ROTATION_180 (2) : Rotation degree : 180.

·         DM_ROTATION_270 (3) : Rotation degree : 270.