Easy generate Barcode-Sheets for print or online
Generate Barcode-Sheet with simple Settings and try every settings
byte[] sheet = new BarcodeSheetBuilder(new List<string> { "code1", "code2" }, PageSize.A4, 2, 1).Build();
//Sheet columns must match cellWidths.Count()
//Error on cellWidths.Count() != columns
int columns = 3;
int rows = 1;
float cellWidths = new float[] { 50, 30, 20 };
byte[] sheet = new BarcodeSheetBuilder(new List<string> { "code1", "code2", "code3" }, PageSize.A4, columns, rows)
.SetCellPercentWidth(cellWidths)
.Build();
byte[] sheet = new BarcodeSheetBuilder(new List<string> { "code1", "code2", "code3" }, PageSize.A4, 2, 1)
.SetPageMargins(0, 0, 5, 5)
.SetColumnPercentWidth(new float[] { 50, 30, 20 })
.SetCellPadding(25)
.SetBarCodeHeight(80) // !Read Troubleshoot!
.WithBarcodeText()
.WithBorder()
.Build();
Caution with the .SetBarCodeHeight(). When the Generated Barcode is higher than the cell height the barcode will not be show!