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. The supported types are: BMP, EPS, GIF, JPG, PCX, PNG and TIF.
[For the dBarcode-2D Developers Kit, the list of supported graphics types may be viewed using the drop-down list in the Save Image dialog of the dBarcode-2D application.]
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: