dBarSaveImage(filename)

This function when called with the parameter filename containing the full pathname of a file (complete with extension) saves the current barcode image as a disk file.

If the extension .WMF is used then the image is saved as a Windows metafile. If .BMP is used then the image is saved as a Windows Bitmap. Other extensions .(such as PCX) may be used to save images in Paintbrush or the other supported graphics types. The list of supported graphics types may be viewed using the drop-down list in the Save Image dialog of the dBarcode-2D application.

dBarcode-2000 does NOT allow the dBarSaveImage method to be used via OLE for saving graphics in any format other than WMF.

If an error is encountered while attempting to save the file this function returns 0.

If the function is successful it returns a non-zero value.

This function provides the programming equivalent of the File SAVE IMAGE command, complete with filename selection.

 

More:

OLE properties