Can't generate DATAMATRIX code

Nov 25, 2016 at 8:03 PM
I used Nuget to add v1.0.4727.18517 to my VS 2015 Winform project.

Below is code for the basic form. When I try run this it says
No encoder available for format DATAMATRIX.
I tried PDF417 and QRCode. PDF417 says no encoder but QRCode works fine.

When I go into object browser for the zxing dll it shows me there is a datamatrix object and PDF417 so not sure why it isn't recognizing them but does QRCode.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Aztec_Display
    public partial class Form1 : Form
        public Form1()
            pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;

        private void Form1_Load(object sender, EventArgs e)
            MultiFormatWriter myWriter = new MultiFormatWriter();
            ByteMatrix matrix = myWriter.encode("Dano is great", BarcodeFormat.DATAMATRIX, 250, 250);
            pictureBox1.Image = matrix.ToBitmap();
Feb 25 at 11:41 AM
I think you downloaded the wrong package.
ZXing.Net from this site here has the version number