Methods

OLE Automation allows dBarcode Pro to be programmed from other applications, such as Microsoft Visual Basic 6. dBarcode provides several functions which may be called from other applications (one of which returns the bacode metafile image through the Windows clipboard), and a number of variables which may be set to specify properties of the barcode image, or retrieved to determine characteristics of the image.

The dBarcode functions provided for OLE automation are:

short dBarInit ();

short dBarCopy ();

short dBarCopyBitmap ();

short dBarMake ();

short dBarMakeCode (codestring);

short dBarOpen (filename);

short dBarSave (filename);

short dBarDefs ();

short dBarSaveImage (filename);

 

while the variables used for setting the properties of the barcode image are summarised in the table on the next page and described in detail below.

Most users will probably find it helpful to examine the sample programs provided on the distribution disk while reading the descriptions below.

 

 

More:

dBarcode OLE variables

dBarInit()

dBarCopy()

dBarCopyBitmap()

dBarMake()

dBarMakeCode(codestring)

dBarOpen(filename)

dBarSave(filename)

dBarDefs()

dBarSaveImage(filename)