Create a Barcode
See Also Send Feedback
Barcode Xpress 9 for ActiveX - User Guide > How To > Create a Barcode

Glossary Item Box

Basic Steps to Create a Barcode

  1. Set the Barcode Value and Type you want to create
    Property Description
    MakeBarcodeValue Uses a string as a valid value for the specified barcode type to create.
    MakeBarcodeStyle Gets and sets the type of barcode to create.
  2. Call the MakeBarcode method to create a barcode
    Method Description
    MakeBarcode Creates a barcode determined by the previously set properties defined above.
  3. Get the resulting image




    Returns a handle to the barcode (DIB) Device Independent Bitmap.


    Returns the barcode picture.


VB  Example - Minimum VB code to write using Accusoft.BarcodeXpress8.ActiveX Copy Code
'set the required writer properties

'call MakeBarcode to create barcode

'get the resulting image from MakeBarcodeDIB (or MakeBarcodePic) property
ImagXpress1.hDib = BarcodeXpress1.MakeBarcodeDIB


See the Overview of Barcode Xpress topic for more code examples on writing barcodes.

Barcode Xpress provides many additional methods and properties to use in barcode creation. See the Accusoft BarcodeXpress v9.0 topic for API information on methods and properties.

See Also

©2013. Accusoft Corporation. All Rights Reserved.