Bar2Dcb

Calls to Bar2Dcb may be made directly from Visual Basic (version 5 or later), with the Barcode2D structure containing the barcode parameters. A bitmap image is formed on the Windows Clipboard, and may be passed to a Picture/Image using

Image1.Picture=Clipboard.GetData(vbCFBitmap)

Int WINAPI Bar2Dcb(LPRECT rc, LPBAR2D bc)

Where

rc is the RECT structure that will contain the image size

bc is the BARCODE2D structure containing the barcode details.

More:

Bar2Dcd