Read Barcode Metadata
Read Metadata from PDF417 and Macro PDF417 Barcodes
To read metadata from PDF417 barcodes, Aspose.BarCode for C++ provides a group of properties called Pdf417ExtendedParameters that includes various fields as listed in the table below.
PDF417 Metadata Field | Description |
---|---|
Pdf417MacroFileID | Unique identifier of a barcode series or PDF417 file |
Pdf417MacroSegmentID | Current segment identifier |
Pdf417MacroSegmentsCount | Number of barcodes in a series |
Pdf417MacroFileName | Name of a file |
Pdf417MacroChecksum | Checksum of a file that is calculated using CCITT-16 polynomial |
Pdf417MacroFileSize | Total size of bytes in a series |
Pdf417MacroTimeStamp | Time of creating/sending the file |
Pdf417MacroAddressee | Address of the file sender |
Pdf417MacroSender | Name of the file sender |
Read Metadata from QR Code with Structured Append
To read metadata from QR Code barcodes, it is necessary to use a group of properties called QrExtendedParameters. These properties enable reading the information about QR Code barcodes with structured append that allows combining several QR Code labels into one. This information includes the following fields:
- QRStructuredAppendModeBarCodeIndex - the sequence number of the current barcode (starting from 0)
- QRStructuredAppendModeBarCodesQuantity - the number of barcodes in a composite QR Code image (can take values from 2 to 16)
- QRStructuredAppendModeParityData - a byte that serves as a checksum identifier. In the general case, it is calculated as XOR of all bytes in which UTF16BE symbols are encoded using two bytes
Read Metadata from DataBar Barcodes with 2D Components
To read metadata from DataBar barcodes with 2D components, the library provides a group of properties called DataBarExtendedParameters. This property group includes a special parameter called Is2DCompositeComponent that is used to enable or disable a 2D component in DataBar barcodes.
Read Metadata from 1D Barcodes
For some 1D symbologies, such as, for example, EAN 13, it is possible to separate the decoded barcode data into barcode information itself and the checksum value. This can be done using a group of properties called OneDExtendedParameters that provides the following fields: Value that stores the decoded 1D barcode text and CheckSum that contains the result of checksum calculation.
Get Raw Data from Code 128 Barcodes
The input data in Code 128 barcodes can be encoded in three different modes: A, B, or C. The library provides a group of properties called Code128ExtendedParameters with a special field called Code128DataPortions that stores decoded parts of the input data together with information about their encoding mode.