Reading a Matrix Code

Reference | Code Snippets | dedicated code snippet: Reading Matrix Codes from an Image

You can read the matrix code in an image automatically as follows:

a. Create an EMatrixCodeReader object.
b. Call the Read method to detect and decode the matrix codes in the image.
c. Call the GetReadResults accessor to retrieve the decoded EMatrixCode instances.

The EMatrixCode instances contain the following information for each found data matrix code:

Its decoded string,
Its position in the image,
Its logical size,
Its encoding type,
Its grading results,
Methods to draw the data matrix code on the source image.