Recognizing DataMatrix barcodes using GdPicture is just like recognizing any other type of barcode. The methods have been designed to be identical in their usage, whether 1D, 2D, QR, MicroQR, or PDF714.
Here we open a PDF document, render the first page to an image and recognize the DataMatrix barcodes in it.