- Barcode Products
-
Guide
- Generate barcodes in ASP.NET
- Generate barcodes in .NET WinForms
- Generate barcodes in Visual C#.NET
- Generate barcodes in Visual Basic.NET
- Generate barcodes in Java
- Generate barcodes in Crystal Reports
- Generate barcodes in Reporting Service
- Generate barcodes in RDLC Report
- Generate Barcodes in BIRT Report
- Integration
- Knowledge
- Order Now
- About Us
- Professional C#.NET solution for creating, rendering Interleaved 2 of 5 barcode in C#.NET programs
- Easy to integrate into Microsoft Visual Studio and other C#.NET development environment
- Equipped 50+ barcode settings to customize drawn Interleaved 2 of 5 barcode
- Absolute support to manage wide bar to narrow bar of Interleaved 2 of 5 barcode
- Compatible with Interleaved 2 of 5 barcode specification in ISO - ISO / IEC 16390 (2nd edition 2007-06-15)
- Minimum Interleaved 2 of 5 knowledge with complete developer guide in C#.NET
- Support the width and height setting of the whole Interleaved 2 of 5 image
Quick Jump:
Installation of .NET Barcode Generator in C# .NET
- Add BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Web.dll to your .NET project reference
- Add .NET Barcode Generator .NET Windows Control Library to .NET Visual Studio Toolbox
Setting Interleaved 2 of 5 Barcode Size in C#.NET
C# Interleaved 2 of 5 barcode provides a set of barcode size settings to specify you Interleaved 2 of 5 barcodes. Please download C# barcode component and install, copy those following code to your Visual Studio:
Linear barcode = new Linear(); barcode.Symbology = Symbology.INTERLEAVED25; barcode.Code = "9876543210";
Basic
BarcodeUnit
BarcodeUnit is a unit of measure for all size related properties.
barcode.BarcodeUnit = BarcodeUnit.PIXEL;
Interleaved 2 of 5 Barcode Width Related Settings
BarWidth
BarWidth is the bar module width, which is also called X dimension.
barcode.BarWidth = 5;BarcodeWidth
BarcodeWidth is the Interleaved 2 of 5 barcode image width.
barcode.BarcodeWidth = 200;left & Right Magrin
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;
Interleaved 2 of 5 Barcode Height Related Settings
BarHeight
BarHeight is the Interleaved 2 of 5 bar module height, which is also called Y dimension.
barcode.BarHeight = 5;BarRatio
BarRatio is the wide vs narrow bar width ratio.
barcode.BarRatio = 2.5f;BarcodeHeight
BarcodeHeight is the Interleaved 2 of 5 barcode image height.
barcode.BarcodeHeight = 150;Top & Bottom Margin
TopMargin is used for specifying generated barcode image top margin.
BottomMargin is used for specifying generated barcode image bottom margin.
barcode.TopMargin = 3; barcode.BottomMargin = 5Text Margin
TextMargin is the space between barcode and barcode text.
barcode.TextMargin = 20;Text Font
TextFont is used for customizing drawn barcode value text font style.
barcode.TextFont = new FontStyle("Arial", Font.PLAIN, 11);