BarCodeWiz Logo

SaveAs

This method saves the current image of the barcode to disk.


Syntax

BarCodeWiz1.SaveAs(pathName As String, [zoomPercent As Long = 100]) As Boolean

pathName is a string expression specifying the path and filename of the file. The type of file is determined by its three-letter extension. Possible file extensions are bmp, gif, wmf, and emf (the latter is recommended).

Example:

'Saves 100 barcode images (from 1.emf to 100.emf) to disk:
Dim x As Integer
For x = 1 To 100
 BarCodeWiz1.Barcode = x
 BarCodeWiz1.SaveAs "c:\images\" & x & ".emf"
Next