BarcodePayloadEncoding

Barcodes

Description

Opt-in payload encoding for 2D barcode text. The default, bpeSystemANSI, keeps the historical behaviour and converts the payload WideString through the system ANSI code page before encoding. Use bpeUTF8 for raw UTF-8 bytes or bpeUTF8WithECI to identify UTF-8 to Data Matrix and PDF417 readers that support Extended Channel Interpretation (ECI)

Neither mode writes an ECI codeword: the bytes produced by the selected conversion are placed in the symbol directly.

Syntax

Delphi

Property BarcodePayloadEncoding: TPDFlibBarcodePayloadEncoding Read FBarcodePayloadEncoding Write FBarcodePayloadEncoding;

Remarks

See TPDFlibBarcodePayloadEncoding for the accepted values. Existing output is unchanged while the property keeps its default.

DLL and dylib callers reach this property through GetBarcodePayloadEncoding and SetBarcodePayloadEncoding.