Demonstration - MaxiCode

Mainly used in the postal sector for letters and packaging.
Encodes a fixed amount of data; can encode postal addresses.
Follows the industry standard.
* 30 character limit for this demo.

var colorFront = new BCGColor(Color.Black);
var colorBack = new BCGColor(Color.White);

// Barcode Part
var code = new BCGmaxicode();
code.SetScale(2);
code.SetForegroundColor(colorFront);
code.SetBackgroundColor(colorBack);
code.SetMode(4);
code.Parse("Maxicode");

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

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