Demonstration - PDF417

Capable of containing large amounts of data in a variety of characters.
Used mainly for identification cards, inventory, and transport.
Dimensions of this barcode can be set; also contains a truncated version.
* 30 character limit for this demo.

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

// Barcode Part
var code = new BCGpdf417();
code.SetScale(2);
code.SetForegroundColor(colorFront);
code.SetBackgroundColor(colorBack);
code.SetErrorLevel(2);
code.SetCompact(false);
code.SetQuietZone(true);
code.Parse("PDF417");

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

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