Loads the default read options from the specified XML stream used for this BarcodeReader.
public void LoadOptions(
Stream stream
)
Public Overloads Sub LoadOptions( _
ByVal stream As Stream _
)
public:
void LoadOptions(
Stream^ stream
)
stream
The XML stream containing the data.
The load/save methods are provided as helper methods for the user. The BarcodeEngine, BarcodeReader and BarcodeWriter do not use these methods internally.
The default read options can be retrieved using the GetDefaultOptions or GetAllDefaultOptions methods. You can then change the values of the BarcodeReadOptions object returned (or cast it back to the appropriate derived class). These options are used by the ReadBarcode and ReadBarcodes methods when no explicit options are passed by the user.
To save the default options to an XML stream, use BarcodeReader.SaveOptions(Stream stream).
To save and load data to an XML file, use BarcodeReader.SaveOptions(string fileName) and BarcodeReader.LoadOptions(string fileName).
For an example, refer to LoadOptions(string fileName)
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET