DrawGS1DataBarEx
条形码
描述
绘制带显式变体选择器的 GS1 DataBar 条码,DLL 与 ActiveX 的 DrawGS1DataBar 方法走的就是这条路线
语法
Delphi
Function TPDFlib.DrawGS1DataBarEx(Left, Top, Width, Height: Double;
Const Text: WideString; Variant, Options: Integer): Integer;
参数
| Left, Top, Width, Height | 当前测量单位下的条码矩形 |
|---|---|
| Text | GS1 数据 |
| Variant | 仅支持 0,即 Omnidirectional 变体 |
| Options | 传给 DrawGS1DataBar 的选项 |
返回值
返回变体 0 的 DrawGS1DataBar 结果;其他变体返回 0 并置 LastErrorCode 301