![]() |
|
|||||||||
Home > .NET Barcode> Barcode Generation Guide> Excel Barcode Generation Guide in VB.NET Barcode for .NET
Quick Navigate
To install .NET barcode generator for your barcode project, simply add the barcode library to project reference.
private void pictureBox1_Click(object sender, EventArgs e) { BarcodeLib.Barcode.Linear barcode = new BarcodeLib.Barcode.Linear(); barcode.Type = BarcodeType.CODE39; barcode.Data = "CODE39"; barcode.UOM = BarcodeLib.Barcode.UnitOfMeasure.PIXEL; barcode.Rotate = RotateOrientation.BottomFacingDown; barcode.Resolution = 72 barcode.BarWidth = 1 barcode.BarHeight = 60 barcode.LeftMargin = 0; barcode.RightMargin = 0; barcode.TopMargin = 0; barcode.BottomMargin = 0; Dim bmp As Bitmap = barcode.drawBarcode() Me.pictureBox1.Image = bmp
|