GenerateBarCodeImage

BarcodeGenerator.GenerateBarCodeImage method

Generate the barcode image under current settings.

public Bitmap GenerateBarCodeImage()

Return Value

Barcode image. See Bitmap.

Examples

This sample shows how to create and save a barcode image.

[C#]
  using(var generator = new BarcodeGenerator(EncodeTypes.Code128))
  {
      Bitmap barcode = generator.GenerateBarCodeImage();
      barcode.Save("test.png");
  }

See Also