Leadtools.Barcode Namespace > BarcodeReadOptions Class > Load Method : Load(String) Method |
'Usage Dim instance As BarcodeReadOptions Dim fileName As String instance.Load(fileName)
function Leadtools.Barcode.BarcodeReadOptions.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 a BarcodeReadOptions to an XML file, use BarcodeReadOptions.Save(string fileName).
To save and load data to an XML stream, use BarcodeReadOptions.Save(Stream stream) and BarcodeReadOptions.Load(Stream stream).
For an example, refer to BarcodeReadOptions.Save(string fileName).