public virtual void Barcode02Test()
        {
            String            filename = "barcodeDataMatrix2.pdf";
            PdfWriter         writer   = new PdfWriter(destinationFolder + filename);
            PdfDocument       document = new PdfDocument(writer);
            PdfPage           page1    = document.AddNewPage();
            PdfCanvas         canvas   = new PdfCanvas(page1);
            BarcodeDataMatrix barcode2 = new BarcodeDataMatrix("дима", "UTF-8");

            barcode2.PlaceBarcode(canvas, ColorConstants.GREEN, 10);
            document.Close();
            NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(destinationFolder + filename, sourceFolder
                                                                             + "cmp_" + filename, destinationFolder, "diff_"));
        }
        public virtual void Barcode16Test()
        {
            String            filename = "barcode16Test.pdf";
            PdfDocument       document = new PdfDocument(new PdfWriter(destinationFolder + filename));
            PdfCanvas         canvas   = new PdfCanvas(document.AddNewPage());
            BarcodeDataMatrix barcode  = new BarcodeDataMatrix();

            barcode.SetCode("999999DILLERT XANG LIMITON 18               000");
            canvas.ConcatMatrix(1, 0, 0, 1, 100, 600);
            barcode.PlaceBarcode(canvas, ColorConstants.BLACK, 3);
            document.Close();
            NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(destinationFolder + filename, sourceFolder
                                                                             + "cmp_" + filename, destinationFolder));
        }
        public virtual void Barcode01Test()
        {
            String            filename = "barcodeDataMatrix.pdf";
            PdfWriter         writer   = new PdfWriter(destinationFolder + filename);
            PdfDocument       document = new PdfDocument(writer);
            PdfPage           page     = document.AddNewPage();
            PdfCanvas         canvas   = new PdfCanvas(page);
            BarcodeDataMatrix barcode  = new BarcodeDataMatrix();

            barcode.SetCode("AAAAAAAAAA;BBBBAAAA3;00028;BBBAA05;AAAA;AAAAAA;1234567;AQWXSZ;JEAN;;;;7894561;AQWXSZ;GEO;;;;1;1;1;1;0;0;1;0;1;0;0;0;1;0;1;0;0;0;0;0;0;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1"
                            );
            barcode.PlaceBarcode(canvas, ColorConstants.GREEN, 5);
            document.Close();
            NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(destinationFolder + filename, sourceFolder
                                                                             + "cmp_" + filename, destinationFolder, "diff_"));
        }
        public virtual void Barcode06Test()
        {
            String            filename = "barcodeDataMatrix6.pdf";
            PdfWriter         writer   = new PdfWriter(destinationFolder + filename);
            PdfDocument       document = new PdfDocument(writer);
            PdfPage           page1    = document.AddNewPage();
            PdfCanvas         canvas   = new PdfCanvas(page1);
            BarcodeDataMatrix barcode3 = new BarcodeDataMatrix();

            barcode3.SetWidth(36);
            barcode3.SetHeight(12);
            barcode3.SetCode(">>>\r>>>THIS VERY TEXT>>\r>");
            barcode3.PlaceBarcode(canvas, ColorConstants.BLACK, 10);
            document.Close();
            NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(destinationFolder + filename, sourceFolder
                                                                             + "cmp_" + filename, destinationFolder, "diff_"));
        }