Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace > BarcodeData Class > Load Method : Load(String) Method |
public static BarcodeData[] Load( string fileName )
'Declaration
Public Overloads Shared Function Load( _ ByVal fileName As String _ ) As BarcodeData()
'Usage
Dim fileName As String Dim value() As BarcodeData value = BarcodeData.Load(fileName)
public static BarcodeData[] Load( string fileName )
function Leadtools.Barcode.BarcodeData.Load(String)( fileName )
public: static array<BarcodeData^>^ Load( String^ fileName )
The load/save methods are provided as helper methods for the user. The BarcodeEngine, BarcodeReader and BarcodeWriter do not use these methods internally.
To save an array of BarcodeData to an XML file, use BarcodeData.Save(string fileName, BarcodeData[] data).
To save and load data to an XML stream, use BarcodeData.Save(Stream stream, BarcodeData[] data) and BarcodeData.Load(Stream stream).
For an example, refer to BarcodeData.Save(string fileName, BarcodeData[] data).