WPF.Barcode.TXBarcodeControl.SaveImage Method

Saves the barcode image.

SaveImage(Stream, ImageFormat)

Saves the barcode image to the specified object of type System.IO.Stream with the specified format of type System.Drawing.Imaging.ImageFormat.

[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 into which the image is saved.

format

Specifies the format used to save the image.

SaveImage(String, ImageFormat)

Saves the barcode image into the specified file with the specified format of type System.Drawing.Imaging.ImageFormat.

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

Specifies a file into which the image is saved.

format

Specifies the format used to save the image.

SaveImage(Stream, ImageFormat)

Saves the barcode image to the specified object of type System.IO.Stream with the specified format of type TXTextControl.WPF.Barcode.ImageFormat.

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

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

format

Specifies the format used to save the image.

SaveImage(String, ImageFormat)

Saves the barcode image into the specified file with the specified format of type TXTextControl.WPF.Barcode.ImageFormat.

[C#]
public void SaveImage(string imageFileName, TXTextControl.WPF.Barcode.ImageFormat format);
[Visual Basic]
Public Sub SaveImage(ByVal imageFileName As String, ByVal format As TXTextControl.WPF.Barcode.ImageFormat)
Parameter Description
imageFileName

Specifies a file into which the image is saved.

format

Specifies the format used to save the image.