- creates text for Datamatrix font and copies to the Windows clipboard
Declared for C as
int WINAPI Bar2Ddmc(LPSTR szIn,LPINT n, LPINT mode, LPINT sec, );
where 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),
mode specifies the shape of the barcode (0=square, 1=
rectangular) or whether the symbol is encoded using GS1 Datamatrix encoding rule
(2=square GS1, 3=rectangular GS1), and sec is the security level
The security level has allowed values of 0 – 24 for square symbols, or 0 – 6 for rectangular symbols. A negative security level may be used to specify the number of columns in the symbol.
Basic declaration
Private Declare Function Bar2Ddmc Lib "dmatdf" (ByVal szIn As String, ByRef n As Long, ByRef mo As Long, ByRef sec As Long) As Long
More: