Bar2Dc

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

Image1.Picture=Clipboard.GetData(vbCFMetafile)

Int WINAPI Bar2Dc(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:

Bar2Dcb