WPF.Barcode.TXBarcodeControl.Load Method

Loads barcode data into the control.

Load(String)

Loads barcode data into the control from a specified file. The data format must be XML.

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

Specifies a file from which the data is loaded.

Load(String, SerializationFormat)

Loads barcode data into the control with the specified format. The new barcode is read from the specified file.

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

Specifies a file from which the data is loaded.

format

Specifies the format used to deserialize the barcode.

Load(Stream)

Loads barcode data into the control from a specified object of type System.IO.Stream. The data format must be XML.

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

Specifies an object of type System.IO.Stream from which the data is loaded. The data is loaded from the stream's current position.

Load(Stream, SerializationFormat)

Loads barcode data into the control with the specified format. The new barcode is read from the specified object of type System.IO.Stream.

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

Specifies an object of type System.IO.Stream from which the data is loaded. The data is loaded from the stream's current position.

format

Specifies the format used to deserialize the barcode.

Load(TextReader)

Loads barcode data into the control from a specified object of type System.IO.TextReader. The data format must be XML.

[C#]
public void Load(System.IO.TextReader textReader);
[Visual Basic]
Public Sub Load(ByVal textReader As System.IO.TextReader)
Parameter Description
textReader

Specifies an object of type System.IO.TextReader from which the data is loaded.

Load(XmlReader)

Loads barcode data into the control from a specified object of type System.Xml.XmlReader. The data format must be XML.

[C#]
public void Load(System.Xml.XmlReader xmlReader);
[Visual Basic]
Public Sub Load(ByVal xmlReader As System.Xml.XmlReader)
Parameter Description
xmlReader

Specifies an object of type System.IO.XmlReader from which the data is loaded.