ByteScout BarCode Generator SDK - C# - Add To Multi TIFF - ByteScout

ByteScout BarCode Generator SDK – C# – Add To Multi TIFF

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – Add To Multi TIFF

ByteScout BarCode Generator SDK – C# – Add To Multi TIFF

Program.cs

using Bytescout.BarCode;

namespace AddBarcodeToMultipageTiff
{
	class Program
	{
		static void Main()
		{
            // Create new barcode and register it.
            Barcode barcode = new Barcode();
			barcode.RegistrationName = "demo";
			barcode.RegistrationKey = "demo";

            // Set symbology
            barcode.Symbology = SymbologyType.PDF417;
            // Set value
            barcode.Value = "Sample barcode";

            // Place barcode at bottom-right corner of the the first TIFF page
			barcode.DrawToImage("wikipedia.tif", 0, 550, 1100, "result.tif");

            // Open output file in default image viewer
            System.Diagnostics.Process.Start("result.tif");
		}
	}
}


  Click here to get your Free Trial version of the SDK

Tutorials:

prev
next