EasyCodeReading
Support |
|
Required licenses |
EasyBarCode, EasyMatrixCode, EasyQRCode |
Recommended images |
Any image from the folder Sample Images\EasyCodeReading |
Location |
Text and Code Reading\EasyCodeReading \ |
Purpose
This sample program demonstrates how to:
□ | Read a bar code, a data matrix and a QR code in an image with a single read call. |
Code highlights
1. | Locate and read the bar code, the data matrix and the QR codes in the image. |
m_Codes = m_Reader.Read(m_Src);
2. | Retrieve the text encoded in the codes. |
text = text + Codes[iCode].GetDecodedString();
3. | Draw the position of the data matrix code on the image. |
Codes[iCode].DrawPosition(hDC);