PDF417 - columns

Jun 30, 2014 at 10:00 PM
Hello,

I'm trying to generate the PDF417 with the number of fixed columns in 4
I do not know where to insert this parameter, as in the example.

ZXing.net (? columns);

Image
Other generator (4 columns):
Image

Best regards
Coordinator
Jul 1, 2014 at 7:42 PM
You can use the encoding options. You have to set the "Dimensions" property.
         var writer = new BarcodeWriter
            {
               Format = BarcodeFormat.PDF_417,
               Options = new PDF417EncodingOptions
                  {
                     Dimensions = new Dimensions(4, 4, 2, 30)
                  }
            };
         var bitmap = writer.Write("<your content here>");
Jul 2, 2014 at 6:54 PM
Hello micjahn,

Thank you very much! It worked perfectly!

Best regards