Save Method
- Namespace
TXTextControl.Barcode
- Package
TXTextControl.asTextControl. WinForms. SDK TXBarcode.from the private NuGet feed or Text Control Offline Packagesdll
Description
Saves the barcode data.
Syntax
Save(string)
Saves the barcode data to the given file.
public void Save(string fileName);Public Sub Save(fileName As String)| Parameter | Description |
|---|---|
| fileName | Specifies a file the is saved to. |
Save(Stream)
Saves the barcode data to the given object of type System.IO.Stream.
public void Save(Stream stream);Public Sub Save(stream As Stream)| Parameter | Description |
|---|---|
| stream | Specifies an object of type |
Save(TextWriter)
Saves the barcode data to the given object of type System.IO.TextWriter.
public void Save(TextWriter textWriter);Public Sub Save(textWriter As TextWriter)| Parameter | Description |
|---|---|
| textWriter | Specifies an object of type |
Save(XmlWriter)
Saves the barcode data to the given object of type System.IO.XmlWriter.
public void Save(XmlWriter xmlWriter);Public Sub Save(xmlWriter As XmlWriter)| Parameter | Description |
|---|---|
| xmlWriter | Specifies an object of type |
Examples
The following example saves document content in a specified format. The created object is then available to the surrounding document workflow.
tXBarcodeCore.Save("document.docx");
Console.WriteLine("TXBarcode Core is ready for use.");tXBarcodeCore.Save("document.docx")
Console.WriteLine("TXBarcode Core is ready for use.")