EasyMatrixCodeRead¶
Support |
|
|---|---|
Required licenses |
EasyMatrixCode |
Recommended images |
Any image from the folder |
Location |
|
Purpose¶
This sample program demonstrates how to:
Read a data matrix code in an image.
Code highlights¶
Locate and read the data matrix codes in the image.
m_Codes = m_MXC2.Read(m_Src);
Retrieve the text encoded the data matrix code.
m_DecodedStrings[iCode] = m_Codes[iCode].GetDecodedString();
Draw the grid, the position and the erroneous modules of the data matrix code on the image.
Codes[iCode].DrawGrid(drawAdapter); Codes[iCode].DrawPosition(drawAdapter); Codes[iCode].DrawErrors(drawAdapter);