- creates text for PDF font and writes to file szFilename
Declared for C as
int WINAPI Bar2Dpdw(LPINT code, LPSTR szIn,LPINT n, LPINT columns, LPINT level, LPINT start, LPSTR szFilename);
where code is a pointer to an integer that holds the codetype either 0 (for PDF417 barcodes), 1 (for MicroPDF barcodes) or 2 (for Truncated PDF417).
szIn is a pointer to a string containing the text which is
to be converted into the barcode;
n is the number of characters in the
string (or 0 – in which case the string may not contain NULL
characters),
columns – a pointer to an integer which specifies the number of
codeword columns in the barcode pattern generated. Allowed values are 0 – 100.
For PDF417 values less than 3 are ignored. For MicroPDF only values 1 – 4 are
permitted.
start is the mode in which the barcode should start (normally 0),
level is the security level, and
szFilename is a pointer to a string
which contains the full pathname of a file to receive the string of characters
which represent the barcode when rendered in the PDF font.
The call returns
the number of bytes written to file, which is 0 in the event of a barcode
creation error, or -1 in the event of a file creation error.
Basic declaration
Private Declare Function Bar2Dpdw Lib "pdfdf" (ByRef cd As Long, ByVal szIn As String, ByRef n As Long, ByRef ap As Long, ByRef lv As Long, ByRef st As Long, ByRef szFilename As String) As Long
More: