SaveAs

 

 

This method saves the current image of the bar code to disk.

 

Syntax

 

BarCodeWiz1.SaveAs (ByVal 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).

 

The following example shows how to create (save to files) 100 bar code images (from 0.emf to 99.emf) in Visual Basic:

 

Dim x As Integer

For x = 0 To 99

BarCodeWiz1.Barcode = x

BarCodeWiz1.SaveAs "c:\images\" & x & ".emf"

Next