LEADTOOLS Barcode (Leadtools.Barcode assembly)

LoadOptions(Stream) Method

Show in webframe







The XML stream containing the data.
Loads the default read options from the specified XML stream used for this BarcodeReader.
Syntax
public void LoadOptions( 
   Stream stream
)
'Declaration
 
Public Overloads Sub LoadOptions( _
   ByVal stream As Stream _
) 
'Usage
 
Dim instance As BarcodeReader
Dim stream As Stream
 
instance.LoadOptions(stream)
public void LoadOptions( 
   Stream stream
)

            

            
 function Leadtools.Barcode.BarcodeReader.LoadOptions(Stream)( 
   stream 
)
public:
void LoadOptions( 
   Stream^ stream
) 

Parameters

stream
The XML stream containing the data.
Remarks

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).

Example

For an example, refer to LoadOptions(string fileName)

Requirements

Target Platforms

See Also

Reference

BarcodeReader Class
BarcodeReader Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features