Creating a barcode image

You can create a barcode image either within the dBarcode-2D application or by using the Insert Object feature of many other applications – such as Microsoft Word. Here we examine making an image in the dBarcode-2D application. For information on creating images within other applications please refer to the OLE section.

The procedure for creating a barcode image is simple:

1.  Select the Properties item on the Edit menu or on the control bar to display the Properties dialog

 

2.   Choose the type of barcode from the Barcode Type combo box.

3.   Check that the Size information is as required and that the Mode option is set to the required value.

4.  Close the Properties dialog by pushing the OK button.

5.  Select the Text item from the Edit menu to display the text editor, and enter the text you wish to use to form the barcode symbol. Clicking in the text editor window with the RIGHT mouse button will display an editing menu that allows text on the clipboard to be pasted in.

6.  Close the Text editor by pushing the OK button.

7.  The barcode image will be displayed if the text is valid; otherwise an error message is displayed in the status bar.

 

Notes:

If the Status bar display shows an error this is because the code you have entered may not be legal for the codetype you have selected. This may be because the text contains characters that are not allowed in the mode or barcode type you have selected. The Status bar will show the reason why the image has not been created. Check the barcode type and mode in the Properties dialog and try again.

If no image is visible it may be because the foreground and background colours have been set to the same colour.

If you wish to copy the barcode image to the clipboard choose Copy from the Edit menu or push the copy button on the control bar.

 

More:

Barcode types