OLE Automation allows dBarcode Pro to be programmed from other applications, such as Microsoft Visual Basic 4 (or later). dBarcode provides several functions that may be called from other applications (one of which returns the barcode metafile image through the Windows clipboard), and a number of variables that 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 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: