![]() |
|
|||||||||
Home > .NET Barcode > Barcode Generation Guide > Word Barcode Generation Guide in C# Barcode for .NET
Quick Navigate
To install .NET barcode generator for your barcode project, you only need to 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.DPI = 72; barcode.UOM = BarcodeLib.Barcode.UnitOfMeasure.PIXEL; barcode.Rotate = RotateOrientation.BottomFacingDown; barcode.BarWidth = 3; barcode.BarHeight = 80; barcode.LeftMargin = 3; barcode.RightMargin = 3; barcode.TopMargin = 3; barcode.BottomMargin = 3; Bitmap bmp = barcode.drawBarcode(); this.pictureBox1.Image = bmp;
|