Barcode.TXBarcodeControl.SaveImage Method

Saves the barcode image.

SaveImage(Stream, ImageFormat)

Saves the barcode image to the specified object of type System.IO.Stream.

[C#]
public void SaveImage(System.IO.Stream imageStream, System.Drawing.Imaging.ImageFormat format);
[Visual Basic]
Public Sub SaveImage(ByVal imageStream As System.IO.Stream, ByVal format As System.Drawing.Imaging.ImageFormat)
Parameter Description
imageStream

Specifies an object of type System.IO.Stream the image is saved to.

format

Specifies the format used to save the image.

SaveImage(String, ImageFormat)

Saves the barcode image to the specified file using the specified format.

[C#]
public void SaveImage(string imageFileName, System.Drawing.Imaging.ImageFormat format);
[Visual Basic]
ublic Sub SaveImage(ByVal imageFileName As String, ByVal format As System.Drawing.Imaging.ImageFormat)
Parameter Description
imageFileName

Specifies a file the image is saved to.

format

Specifies the format used to save the image.