<< Click to Display Table of Contents >> VpeRenderMaxiCode |
[Professional Edition and above only]
Computes the dimensions of a MaxiCode barcode.
void VpeRenderMaxiCode(
VpeHandle hDoc,
LPCTSTR lpszText
)
VpeHandle hDoc
Document Handle
LPCTSTR lpszText
the text of the barcode
Remarks:
The width, height and module width of the MaxiCode barcode are fixed. You can not specify these parameters.
Sets LastError.
Example:
// Sample Message (in C++ syntax):
char *szUPS = "[)>" "\x1e" "01" "\x1d" "9641460"
"\x1d" "276" "\x1d" "068" "\x1d" "1Z51146547"
"\x1d" "UPSN" "\x1d" "32630V" "\x1d" "327" "\x1d"
"\x1d" "1/1" "\x1d" "2" "\x1d" "N" "\x1d"
"\x1d" "NEUSS" "\x1d" "\x1e" "\x04"
"!!!!!!!!!!!!!!!!!!!!!!!!!!"
VpeRenderMaxiCode(hDoc, szUPS)
xsize = VpeGet(hDoc, VRENDERWIDTH)
ysize = VpeGet(hDoc, VRENDERHEIGHT)
"Barcodes (2D)" in the Programmer's Manual