• Easy to integrate Code 11 barcode generation component into your C#.NET Programs
  • Completely written in C#.NET for .NET 2.0/3.0/4.0
  • Support pixel, inch, cm to be used as the measurement for Code 11 barcode
  • Simple to specify top, bottom, left, right margin surrounded Code 11 symbol
  • Efficiently make Code 11 barcodes with X, Y dimension and barcode width& height to be adjusted
  • Mature Code 11 barcode generating dll with royalty-free and perpetual developer license
Installation of .NET Barcode Generator in C# .NET
  1. Add BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Web.dll to your .NET project reference
  2. Add .NET Barcode Generator .NET Windows Control Library to .NET Visual Studio Toolbox
Setting Code 11 Barcode Size in C#.NET
C# Code 11 barcode provides a set of barcode size settings to specify you Code 11 barcodes. Please download C# barcode component and install, copy those following code to your Visual Studio:
     Linear barcode = new Linear();<
     barcode.Symbology = Symbology.CODE11;
     barcode.Code = "9876543210";
     

Basic


BarcodeUnit

BarcodeUnit is a unit of measure for all size related properties.
     barcode.BarcodeUnit = BarcodeUnit.PIXEL;

Code 11 Barcode Width Related Settings


BarWidth

BarWidth is the bar module width, which is also called X dimension.
     barcode.BarWidth = 5;

BarcodeWidth

BarcodeWidth is the Code 11 barcode image width, which is made up of right margin, Code 11 symbol and left margin. The class library will auto reset the barcode width if your setting is less than the minimum setting.
     barcode.BarcodeWidth = 200;

Left & Right Margin

LeftMargin is used to modify generated barcode image left margin.
RightMargin is used to modify generated barcode image right margin.
     barcode.LeftMargin = 3;
     barcode.RightMargin = 5;
     

Code 11 Barcode Height Related Settings


BarHeight

BarHeight is the Code 11 bar module height, which is also called Y dimension.
     barcode.BarHeight = 5;
     
SupplementSpace

SupplementSpace is the space between the Code 11 barcodes and supplemental data.
     barcode.SupplementSpace = 19;

Supplement Height

SupplementHeight is the height of the supplement data bar module. It is the N percent of Y (module height of Code 11 barcode bar).
     barcode.SupplementSpace = 0.5f;
     
BarcodeHeight

BarcodeHeight is the Code 11 barcode image height, which is made up of top margin, Code 11 symbol, text margin, text and bottom margin. The class library will auto reset the barcode height if your setting is less than the minimum setting.
     barcode.BarcodeHeight = 150;
     
Top & Bottom Margin

TopMargin is used for specifying generated barcode image top margin which is a white zone above the Code 11 symbol.
BottomMargin is used for specifying generated barcode image bottom margin which is a white zone under the human-readable text.
     barcode.TopMargin = 3;
     barcode.BottomMargin = 5;

Text Margin

TextMargin is the white space between the Code 11 symbol and the human-readable text
     barcode.TextMargin = 20;
     
Text Font

TextFont is used for setting fonts for human-readable characters in Code 11.
     barcode.TextFont = new FontStyle("Arial", Font.PLAIN, 11);





Quick Links