DrawPDF417SymbolEx
向量圖形、條碼
描述
在所選頁面上繪製 PDF417 符號
類似 DrawPDF417Symbol,但提供額外功能
語法
Delphi
Function TPDFlib.DrawPDF417SymbolEx(Left, Top: Double; Const Text: WideString; Options, FixedColumns, FixedRows, ErrorLevel: Integer; ModuleSize, HeightWidthRatio: Double): Integer;
ActiveX
Function PDFlib::DrawPDF417SymbolEx(Left As Double, Top As Double, Text As String, Options As Long, FixedColumns As Long, FixedRows As Long, ErrorLevel As Long, ModuleSize As Double, HeightWidthRatio As Double) As Long
DLL
int DLDrawPDF417SymbolEx(int InstanceID, double Left, double Top, const wchar_t * Text, int Options, int FixedColumns, int FixedRows, int ErrorLevel, double ModuleSize, double HeightWidthRatio);
參數
Left
PDF417 符號左緣的水平座標
Top
PDF417 符號上緣的垂直座標
Text
要存入符號的文字
Options
0 = Normal
1 = Rotate 90 degrees counter clockwise
2 = Rotate 180 degrees
3 = Rotate 90 degrees clockwise
FixedColumns
0 = Auto
非零 = 固定欄數
FixedRows
0 = Auto
非零 = 固定列數
ErrorLevel
-1 = Auto
0 到 8 = 使用者錯誤等級
ModuleSize
最小元素的寬度,單位由 呼叫定義
SetMeasurementUnits
所需模組高度與模組寬度的比例
HeightWidthRatio
傳回值
| 0 | 其中一個參數無效,或文字太大放不進符號位置。 |
|---|---|
| 1 | PDF417 符號繪製成功 |