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 the is saved to.

Save(String, SerializationFormat)

Saves the barcode data to the specified file using 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 the is saved to.

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 the data is saved to.

Save(Stream, SerializationFormat)

Saves the barcode data to the specified object of type System.IO.Stream using 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 the data is saved to.

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 the data is saved to.

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 the data is saved to.