Barcode data and properties

Text property

1D Barcodes

Every 1D barcode can hold only the ASCII character set.   To obtain the stored text from 1D barcodes, use the Text property

2D Barcodes

2D barcodes (PDF417, QR, DataMatrix) can store both textual data in various languages as well as binary data.

ClearImage barcode readers are able to determine how to present the Text values in the most accurate and relevant way.  To obtain the stored text from 2D barcodes, use the Text property

This Inlite’s Intelligent Text Decode processing offers the following features, based on the underlying data in the barcode:

  • Decompresses data compressed by Adobe® LiveCycle® or Inlite’s Barcodes-For-Documents (BFD)
  • Converts ECI and Unicode data to UTF-16LE format for accurate representation of any language
  • Makes XML data stored in barcode more readable with appropriate level of indentation
  • Presents the data from Driver Licenses, ID Cards and Military CAC cards in a uniform manner as XML statements.  This feature requires a license for the DL/ID reader
  • Facilitates using of 2D barcodes to store large amount of data. Consolidates multiple Structured Append barcodes (including Macro PDF417) as single and correctly ordered output. Reading of all barcodes of specified 2D type should be enabled on a page.


  • Inlite’s Intelligent Text Decode is available starting from Version 8.0.4022
  • Adobe ® and LiveCycle ® are trademarks of Adobe Systems Incorporated.
  • Each of the presentation features can be selectively disabled in the Inlite Control Center -> Versions tab -> Configuration dialog box.
  • CiBarcode.Info ("meta") returns an XML string identifying all the transformations applied to the barcode data.

Data property

The Data property returns a byte array with the original, unprocessed binary data stored in barcode. As with any binary file, the application must be aware of stored data format in order to properly interpret the data.

Note: If the barcode does not signal, in the standard way, the specific language code page that was used to encode the text, then the Intelligent Text Decode process cannot determine how to decode the text.  In such cases, the application developer must know the correct code page through other means, and must perform the decoding. Code examples are:




Other barcode properties

Other elements of information associated with the barcode are available to the user application:

Property Description
Type Barcode symbology. This value is typically used to filter the barcode of interest when multiple barcodes are present on a page or in the file.
Length Number of bytes representing barcode value in Data property. .
Rectangle Location of barcode on a page. This value is typically used to filter barcode of interest when multiple barcodes are present on a page.
Rotation Barcode rotation relative to the page image. This value may identify page scanning orientation. For example, if you know that the barcode is printed horizontally on the page, then an “upside down” barcode rotation indicates that the page was scanned upside-down. You can use the ClearImage Rotate method to correct the image.
ModuleSize Average width (in pixels) of the barcode modules. This value is important for tuning the barcode creation and scanning process. To optimize performance it is recommended that for 1D barcodes and PDF417 this value be in the range of 3 to 10 pixels, while for DataMatrix and QR from 5 to 15 pixels.
File Name of the file containing barcode (.NET API only)
Page Page number containing barcode (.NET API only)