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.
var colorBlack = new BCGColor(Color.Black);
var colorWhite = new BCGColor(Color.White);
// Barcode Part
var code = new BCGmaxicode();
code.SetScale(2);
code.SetForegroundColor(colorBlack);
code.SetBackgroundColor(colorWhite);
code.SetMode(4);
code.Parse("Maxicode");
// Drawing Part
var drawing = new BCGDrawing(code, colorWhite);
var memoryStream = new MemoryStream();
await drawing
.FinishAsync(BCGDrawing.ImageFormat.Png, memoryStream);