Group 2 Library calls

Group 2 calls enable the programmer to generate barcodes using a dialog box to provide the barcode properties rather than the Barcode structure.

BarAsk - displays a pop-up dialog requesting barcode information. When OK is pressed all barcode properties except the data are stored in memory and saved as defaults for future use.

BarAskEx - displays a pop-up dialog requesting barcode information. When OK is pressed all barcode properties except the data are stored in memory and used as defaults until the calling program is closed.

BarCdm  - generates a metafile image from a data string using the current default barcode properties.

BarCdmx  - generates a enhanced metafile image from a data string using the current default barcode properties.

BarCdd  - generates a bitmap image from a data string using the current default barcode properties.

BarCdh2 - draws a high-resolution image generated from the string parameter using the current default barcode properties into the device context with the handle hDC.

BarCdc  - generates a enhanced metafile image from a data string using the current default barcode properties and places the image on the clipboard.

BarCdp  - generates a barcode pattern string from a data string using the current default barcode properties.

BarCds – generates a barcode image from a data string using the current default barcode properties and saves the image to a named disk file.

BarCdrd  - copies the current default barcode properties into a Barcode structure.

BarCdin – sets the default barcode properties to the values passed as a Barcode structure and saves the defaults for future use.

BarCdinEx – sets the default barcode properties to the values passed as a Barcode structure; these values will be lost when the calling program is closed.

BarCodew - creates a barcode image on the Windows clipboard using the current default barcode properties and a data string passed as a parameter. Trailing characters with ASCII values less than or equal to 32 are removed.

BarCodew2 – as BarCodew() but data string is taken from the Windows clipboard.

BarCodewF - creates a barcode font string using the current default barcode properties and a data string passed as a parameter. Trailing characters with ASCII values less than or equal to 32 are removed.

BarCodewF2 – as BarCodewF(), but without removing low ASCII trailing characters.

BarAskwF – displays a dialog for requesting barcode information for font-based barcodes.

LastErrorCode – retrieves the most recent error code after a Group 2 call.

 

More:

Barcode fonts