DrawGS1DataBarExpandedA

Small Business、条码

需要 Small Business 版 — 在 Delphi、C++Builder 和 Lazarus 代码中,请将库创建为 TPDFlibSmallBusiness(单元 PDFlibSmallBusiness)或 TPDFlibEnterprise;Small Business 版和 Enterprise 版的 DLL 与 ActiveX 构建原样提供该方法;Single 版保留此方法,它返回 0,并将 LastErrorCode 设置为 901(PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)

描述

末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口只提供 Unicode 形式。行为与 DrawGS1DataBarExpanded 完全相同,字符串参数按当前 SetAnsiMode 代码页解释

语法

Delphi

Function DLDrawGS1DataBarExpandedA(InstanceID: Integer; Left: Double; Top: Double; Width: Double; Height: Double; Text: PAnsiChar): Integer;

DLL

int DLDrawGS1DataBarExpandedA(int InstanceID, double Left, double Top, double Width, double Height, const char* Text);

从带方括号的 GS1 应用标识符绘制 GS1 DataBar Expanded 符号;后端验证 AI 结构与负载约束

PDF.DrawGS1DataBarExpanded(50, 700, 300, 60,
  '[01]09506000134352[10]ABC123');

成功返回 1,失败返回 0;专业条码 介绍版本要求、部署与错误