WPF.Barcode.TXBarcodeControl.Save Method

Saves the barcode data.

Save(String)

Saves the barcode data to the given file. The data format of the file is XML.

[C#]
public void Save(string fileName);
[Visual Basic]
Public Sub Save(ByVal fileName As String)
Parameter Description
fileName

Specifies a file into which the data is saved.

Save(String, SerializationFormat)

Saves the barcode data into the specified file with the specified format.

[C#]
public void Save(string fileName, TXTextControl.Barcode.SerializationFormat format);
[Visual Basic]
Public Sub Save(ByVal fileName As String, ByVal format As TXTextControl.Barcode.SerializationFormat)
Parameter Description
fileName

Specifies a file into which the data is saved.

format

Specifies the format used to serialize the barcode.

Save(Stream)

Saves the barcode data to the given object of type System.IO.Stream. The data format of the stream is XML.

[C#]
public void Save(System.IO.Stream stream);
[Visual Basic]
Public Sub Save(ByVal stream As System.IO.Stream)
Parameter Description
stream

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

Save(Stream, SerializationFormat)

Saves the barcode data into the specified object of type System.IO.Stream with the specified format.

[C#]
public void Save(System.IO.Stream stream, TXTextControl.Barcode.SerializationFormat format);
[Visual Basic]
Public Sub Save(ByVal stream As System.IO.Stream, ByVal format As TXTextControl.Barcode.SerializationFormat)
Parameter Description
stream

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

format

Specifies the format used to serialize the barcode.

Save(TextWriter)

Saves the barcode data to the given object of type System.IO.TextWriter. The data format of the stream is XML.

[C#]
public void Save(System.IO.TextWriter textWriter);
[Visual Basic]
Public Sub Save(ByVal textWriter As System.IO.TextWriter)
Parameter Description
textWriter

Specifies an object of type System.IO.TextWriter into which the data is saved.

Save(XmlWriter)

Saves the barcode data to the given object of type System.IO.XmlWriter. The data format of the stream is XML.

[C#]
public void Save(System.Xml.XmlWriter xmlWriter);
[Visual Basic]
Public Sub Save(ByVal xmlWriter As System.Xml.XmlWriter)
Parameter Description
xmlWriter

Specifies an object of type System.IO.XmlWriter into which the data is saved.