SaveImage(filename)

When called with a valid filename (including extension), this method copies the barcode image in a graphics format to a named disk file. The filename parameter must contain the fully qualified filename of the file that will receive the image. The specified directory path must exist. If the file exists it will be overwritten; if it does not exist it will be created. A return value of 0 indicates an error.

The extension of the filename specifies the type of file to be created. .WMF causes a Windows metafile image to be saved. .BMP specifies a Bitmap file. [Additional file types: .EPS specifies an encapsulated PostScript file (as a bitmap), .PCX a Paintbrush format bitmap, PNG a graphic format for web use, and GIF Compuserve graphic.]

Note that the Property SaveImageFile may also be set to a filename to initiate the saving of a graphic file.

 

More:

ShowProps()