Data Logic 2 of 5 Barcode
This Symbology is also known as China Post Barcode, 2 of 5 Data Logic, 2/5 Data Logic
This Barcode Symbology is supported by the following Neodynamic products:- Barcode Professional SDK for .NET Projects
- Barcode Professional for Windows Forms
- BarcodePro Web API for Docker
- Barcode Professional for WPF
- Barcode Professional for ASP.NET (Web Forms, MVC Razor, AJAX)
- Barcode Professional for Reporting Services (CRI & DLL for SSRS (RDL))
- Barcode Professional for .NET STANDARD
- Barcode Professional for Blazor
- ThermalLabel SDK for .NET
Overview
Data Logic 2/5 is a linear barcode symbology which encodes numeric values only.
Sample of a Data Logic 2 of 5 Barcode
How to create Data Logic 2 of 5 barcodes using Barcode Professional for
Note: Please refer to the Class Reference documentation for more information about the properties and methods stated in this document.
In order to get a Data Logic 2 of 5 barcode image, please follow these steps:
- Set the Symbology property to DataLogic2of5
- Setting up dimensions and quiet zones:
- Set the BarWidth and BarHeight properties (Values are expressed in Inches)
- Set the QuietZoneWidth property (Value is expressed in Inches)
- Set the TopMargin and BottomMargin properties (Values are expressed in Inches)
- Set the Code property with the value to encode. Only numeric values are supported by this Symbology
- Setting up the Bearer Bars if needed:
- Set the BearerBarStyle property to Frame, or HorizontalRules
- Set the BearerBarWidth property (Value is expressed in Inches)
Note: Please refer to the Class Reference documentation for more information about the properties and methods stated in this document.
In order to get a Data Logic 2 of 5 barcode image, please follow these steps:
- Set the Symbology property to DataLogic2of5
- Setting up dimensions and quiet zones:
All values for barcode dimensions are expressed in INCHES by default. However, Barcode Professional supports other unit of measurement such as Millimeter, Centimeter, and Mils. For modifying the unit of measurement for barcoding, please set up the BarcodeUnit property as needed.
- Set the BarWidth and BarHeight properties (Values are expressed in Inches)
- Set the QuietZone property (Value is expressed in Inches)
- Set the TopMargin and BottomMargin properties (Values are expressed in Inches)
- Set the Code property with the value to encode. Only numeric values are supported by this Symbology
- Setting up the Bearer Bars if needed:
- Set the BearerBarStyle property to Frame, or HorizontalRules
- Set the BearerBarWidth property (Value is expressed in Inches)
Example of a Data Logic 2 of 5 barcode image
Code property = 123456789 will produce the following barcode image: