Load Method
- Namespace
TXTextControl.Barcode
- Package
TXTextControl.asTextControl. WinForms. SDK TXBarcode.from the private NuGet feed or Text Control Offline Packagesdll
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.
tXBarcodeCore.Load("document.docx");
Console.WriteLine("TXBarcode Core is ready for use.");tXBarcodeCore.Load("document.docx")
Console.WriteLine("TXBarcode Core is ready for use.")