Bar2Db3 and Bar2Dd3

While we always recommend high-resolution metafile images for barcodes, we are aware that many developers are forced to rely on bitmap formats. Two calls made available by the DLL create bitmap images for target devices of specified resolution. Bar2Db3 creates device dependent bitmaps and Bar2Dd3 creates device independent bitmaps.

LPHANDLE WINAPI Bar2Db3(HANDLE hInstance,int ires,LPBAR2D bcCode,int imult,LPHANDLE hbm)

LPHANDLE WINAPI Bar2Dd3(HANDLE hInstance,int ires,LPBAR2D bcCode,int imult,LPHANDLE hbm)

where

hInstance is the Module handle of the calling application

ires is the resolution in pixels per inch of the target device

bc is a BARCODE2D structure - the LPBAR2D cast is required.

iMult is a pixel-scaling factor that is not used in this release of the DLL and should be set to 0 or 1.

hbm is a HANDLE that will contain the handle of the bitmap image on return.

 

More:

Bar2Dmx