GetBarcodePayloadEncoding
條碼
描述
以 TPDFlibBarcodePayloadEncoding 值的序數傳回作用中的 2D 條碼承載資料編碼模式。序數為 0 表示 bpeSystemANSI、1 表示 bpeUTF8、2 表示 bpeUTF8WithECI
在 Delphi 中可從 BarcodePayloadEncoding 屬性直接讀取同一狀態;此匯出函式是 DLL 與 dylib 的存取途徑。
語法
Delphi
Function DLGetBarcodePayloadEncoding(InstanceID: Integer): Integer; Stdcall;
DLL
int DLGetBarcodePayloadEncoding(int InstanceID);
傳回值
目前的承載編碼序數;執行個體控制代碼無效時傳回 0。