int WINAPI BarCodeh3(HDC hDC, LPRECT lpr, LPLOGFONT lpLf, LPBAR bc, BOOL bPrinting, int xRes, int yRes);
where hDC is the target device context,
lpr is a pointer to the target rectangle in HIMETRIC units
LpLF is a long pointer to a LOGFONT structure filled with information about the font with which any text will be displayed on the barcode. The font height will be treated as Points and treated as positive.
Bc is a barcode structure.
bPrinting is true if the output is to a printer or false otherwise
xRes and yRes are the horizontal and vertical resolutions of the target printer
This function produces barcode images in which the bar widths are whole numbers of pixels of the target printer; as the bars are aligned to pixels the width of the barcode may not be exactly as expected.
More: