DrawPDF417SymbolExA
Vector graphics, Barcodes
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to DrawPDF417SymbolEx and string arguments are interpreted using the current SetAnsiMode code page
Draws a PDF417 symbol onto the selected page.
Similar to DrawPDF417Symbol but providing extra functionality.
Syntax
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);
Parameters
Left
The horizontal coordinate of the left edge of the PDF417 symbol
Top
The vertical coordinate of the top edge of the PDF417 symbol
Text
The text to store in the symbol
Options
0 = Normal
1 = Rotate 90 degrees anti-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
The width of the smallest element in units defined by a call to
SetMeasurementUnits
The ratio of the needed module height to the module width
HeightWidthRatio
Return values
| 0 | One of the parameters was invalid or the text was too big for the symbol site. |
|---|---|
| 1 | The PDF417 symbol was drawn successfully |