This function causes dBarcode to create the barcode image specified by the current setting of the OLE variables and pass the bitmap image to the Windows clipboard.
If an error is encountered while generating the image the variable m_ierror is set to a value greater than zero.
The OLE variable m_spattern is filled by this function.
The size information for the bitmap picture created on the clipboard will be that specified by the m_ilength and m_iheight variables, although these will themselves be set by dBarcode if the variable m_inominalsize if set to 1 and the barcode type has a nominal size. However, the actual pixel size of the bitmap image will be five times larger than the specified dimensions - to ensure that adequate resolution is maintained. Users should note that bitmap images do not have as high a resolution as the metafile images, and should only be used if metafiles cannot be used. The user must ensure that the resultant printed barcodes are scannable.
The function returns 0 if an error is encountered, otherwise it returns a non-zero value.
More: