GetBarcodePayloadEncoding

Barcodes

Description

Returns the active 2D barcode payload encoding mode as the ordinal of a TPDFlibBarcodePayloadEncoding value. The ordinals are 0 for bpeSystemANSI, 1 for bpeUTF8, and 2 for bpeUTF8WithECI

In Delphi the same state is read directly from the BarcodePayloadEncoding property. This export provides access for DLL and dylib callers

Syntax

Delphi

Function DLGetBarcodePayloadEncoding(InstanceID: Integer): Integer; Stdcall;

DLL

int DLGetBarcodePayloadEncoding(int InstanceID);

Return values

The current payload encoding ordinal, or 0 when the instance handle is invalid