Bar2Dpdf ()

 - creates text for PDF font and returns text in szOut

Declared for C as

int WINAPI Bar2Dpdf(LPINT code, LPSTR szIn,LPINT n, LPINT columns, LPINT level, LPINT start,  LPSTR szOut);

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.
level is the security level,
start is the mode in which the barcode should start (normally 0), and
szOut is a pointer to a string which will receive the characters to be rendered in the PDF font.

 

Basic declaration

Private Declare Function Bar2Dpdf 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 szOut As String) As Long

 

More:

Bar2Dpdc ()