Load Method
- Namespace
TXTextControl.WPF. Barcode
- Package
TXTextControl.asTextControl. WPF. SDK TXBarcode.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Loads barcode data into the control.
Syntax
Load(string)
Loads barcode data into the control from a specified file.
public void Load(string fileName);Public Sub Load(fileName As String)| Parameter | Description |
|---|---|
| fileName | Specifies a file the data is loaded from. |
Load(Stream)
Loads barcode data into the control from a specified object of type System.IO.Stream.
public void Load(Stream stream);Public Sub Load(stream As Stream)| Parameter | Description |
|---|---|
| stream | Specifies an object of type |
Load(TextReader)
Loads barcode data into the control from a specified object of type System.IO.TextReader.
public void Load(TextReader textReader);Public Sub Load(textReader As TextReader)| Parameter | Description |
|---|---|
| textReader | Specifies an object of type |
Load(XmlReader)
Loads barcode data into the control from a specified object of type System.Xml.XmlReader.
public void Load(XmlReader xmlReader);Public Sub Load(xmlReader As XmlReader)| Parameter | Description |
|---|---|
| xmlReader | Specifies an object of type |
Examples
The following example loads document content in a specified format. The created object is then available to the surrounding document workflow.
tXBarcodeControl.Load(new System.IO.MemoryStream());
Console.WriteLine("TXBarcode Control is ready for use.");tXBarcodeControl.Load(New System.IO.MemoryStream())
Console.WriteLine("TXBarcode Control is ready for use.")