DrawPDF417SymbolExA
Đồ họa vector, Mã vạch
Mô tả
Hậu tố A là entry point DLL ANSI (char); mặt ActiveX/COM chỉ phơi dạng Unicode. Hành vi giống hệt DrawPDF417SymbolEx và các tham số chuỗi được diễn giải theo code page hiện tại của SetAnsiMode
Vẽ một biểu tượng PDF417 lên trang đang chọn
Similar to DrawPDF417Symbol but providing extra functionality.
Cú pháp
Delphi
Function DLDrawPDF417SymbolExA(InstanceID: Integer; Left, Top: Double; Text: PAnsiChar; Options, FixedColumns, FixedRows, ErrorLevel: Integer; ModuleSize, HeightWidthRatio: Double): Integer;
DLL
int DLDrawPDF417SymbolExA(int InstanceID, double Left, double Top, const char * Text, int Options, int FixedColumns, int FixedRows, int ErrorLevel, double ModuleSize, double HeightWidthRatio);
Tham số
Left
Tọa độ ngang của cạnh trái biểu tượng PDF417
Top
Tọa độ dọc của cạnh trên biểu tượng PDF417
Text
Chữ cần lưu vào biểu tượng
Options
0 = Normal
1 = Rotate 90 degrees counter clockwise
2 = Rotate 180 degrees
3 = Rotate 90 degrees clockwise
FixedColumns
0 = Auto
Non-zero = fixed number of columns
FixedRows
0 = Auto
Non-zero = fixed number of rows
ErrorLevel
-1 = Auto
0 to 8 = User error level
ModuleSize
Chiều rộng của phần tử nhỏ nhất, theo đơn vị định nghĩa bởi một lệnh gọi
SetMeasurementUnits
Tỷ lệ giữa chiều cao module cần thiết và chiều rộng module
HeightWidthRatio
Giá trị trả về
| 0 | Một trong các tham số không hợp lệ hoặc chữ quá lớn so với vùng đặt biểu tượng |
|---|---|
| 1 | Biểu tượng PDF417 đã được vẽ thành công |