TBarCode Library 11  TBarCode Library 11
ERRCODE BCSet_DM_Size ( t_BarCode pBarCode,
e_DMSizes  eSize 
)

Sets Data Matrix symbol size.

Specifies the size of the symbol. The size is given in rows and columns and can be between 10 x 10 and 144 x 144 for squares or 8 x 18 and 26 x 64 for rectangles. The Data Matrix Rectangular Extension (DMRE) specifies the matrix range from 8 x 48 to 26 x 64.

Note:
Each matrix size has a limited data capacity. If the amount of data cannot be encoded with the selected matrix, an error will be raised. If no fixed size is selected TBarCode computes and selects the minimal required size of the symbol automatically.
See also:
BCGet_DM_Size() BCSet_DM_Rectangular()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]eSizeBar-code size enumerator.
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.