Demonstration - Code 128

* 30 character limit for this demo.

var font = new BCGFont(new Font("Arial", 18));
var colorFront = new BCGColor(Color.Black);
var colorBack = new BCGColor(Color.White);

// Barcode Part
var code = new BCGcode128();
code.SetScale(2);
code.SetThickness(30);
code.SetForegroundColor(colorFront);
code.SetBackgroundColor(colorBack);
code.SetFont(font);
code.SetStart(null);
code.SetTilde(true);
code.Parse("a123");

// Drawing Part
var drawing = new BCGDrawing(code, colorBack);

var memoryStream = new MemoryStream();
await drawing
    .FinishAsync(BCGDrawing.ImageFormat.Png, memoryStream);