The BarcodeData Class is available in LEADTOOLS Document and Medical Imaging toolkits.
This class contains barcode data information to be read or written.Visual Basic (Declaration) | |
---|---|
<DataContractAttribute(Namespace="http://Leadtools.Services.Barcode.DataContracts/2009/01", Name="BarcodeData")> Public Class BarcodeData |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As BarcodeData |
C# | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.Barcode.DataContracts/2009/01", Name="BarcodeData")] public class BarcodeData |
C++/CLI | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.Barcode.DataContracts/2009/01", Name="BarcodeData")] public ref class BarcodeData |
For an example, refer to Barcode1d example.
The Australian post barcode string has a special format to distinguish different fields (i.e. FCC, DPID, and CIF). The string format puts dashes between fields as follows: “FCC-DIPD-CIF”, where FCC is a 2-digit field (valid values are 11, 87, 45, 92, 59, 62, and 44), DPID is an 8-digit field representing the address, and CIF (optional) represents the customer information field. For more information, please refer to the standard. This string format applies for both read and write functions.
GS1 Databar (formerly RSS14) Expanded and GS1 Databar (formerly RSS14) Expanded Stacked strings need to be written conforming to a string format that indicates a particular encoding method, such as Method “1”, Method “0100”, Method “0101”, ..etc. For example, a string “(01)00012345678905(10)ABC123” is encoded using Method “1” (i.e. General Identification Data). Note that 14th digit of the item identification number (in this case, "5"), if it exists, is considered as a check digit and is ignored. A string that is written without following any of these special encoding formats will be encoded by Method “00” (i.e. General Purpose Data).
When read, an extra digit in curly brackets (i.e. “{“ and “}”) is added to indicate the linkage bit at the beginning of the string. The curly brackets are not part of the encoded barcode data, and they are not defined in the standard. Rather, they distinguish the linkage digit from other data. For example, if a barcode is written with string “(01)00012345678905(10)ABC123” while the linkage bit is set to zero, the read function result will be “{0}(01)00012345678905(10)ABC123”, where {0} is the linkage digit and the remaining characters are the barcode data. Type RSS14 is now GS1 Databar. All references to RSS14 now refer to GS1 Databar.
System.Object
Leadtools.Services.Barcode.DataContracts.BarcodeData
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
BarcodeData MembersLeadtools.Services.Barcode.DataContracts Namespace
Leadtools.Services.Barcode.ServiceContracts.IBarcodeService.Read(Leadtools.Services.Barcode.DataContracts.ReadRequest)
Leadtools.Services.Barcode.ServiceContracts.IBarcodeService.Write(Leadtools.Services.Barcode.DataContracts.WriteRequest)