TPDFlibBarcodePayloadEncoding

Data Types

Description

TPDFlibBarcodePayloadEncoding selects how barcode payload text is converted to bytes before a 2D symbol such as Data Matrix or PDF417 is encoded

Syntax

Delphi

type TPDFlibBarcodePayloadEncoding = (bpeSystemANSI, bpeUTF8, bpeUTF8WithECI);

Values

bpeSystemANSIThe payload WideString is converted through the system ANSI code page, preserving the historical byte output
bpeUTF8The payload is encoded as raw UTF-8 bytes without an ECI marker
bpeUTF8WithECIData Matrix and PDF417 symbols carry UTF-8 bytes with an Extended Channel Interpretation (ECI) marker for UTF-8

Remarks

The ECI marker consumes two data codewords and counts toward symbol capacity. The active value is controlled through the BarcodePayloadEncoding property and defaults to bpeSystemANSI