Error processing SSI file
LEADTOOLS Barcode (Leadtools.Barcode assembly)

Show in webframe

SaveOptions(String) Method








Name of the XML file to create
Saves the default read options from the specified XML file used for this BarcodeReader .
Syntax
public void SaveOptions( 
   string fileName
)
'Declaration
 
Public Overloads Sub SaveOptions( _
   ByVal fileName As String _
) 
'Usage
 
Dim instance As BarcodeReader
Dim fileName As String
 
instance.SaveOptions(fileName)
public void SaveOptions( 
   string fileName
)
 function Leadtools.Barcode.BarcodeReader.SaveOptions(String)( 
   fileName 
)
public:
void SaveOptions( 
   String^ fileName
) 

Parameters

fileName
Name of the XML file to create
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 load the default options from an XML file, use BarcodeReader.LoadOptions(string fileName).

To save and load data to an XML stream, use BarcodeReader.SaveOptions(Stream stream) and BarcodeReader.LoadOptions(Stream stream).

Example

For an example, refer to LoadOptions(string fileName)

Requirements

Target Platforms

See Also

Reference

BarcodeReader Class
BarcodeReader Members
Overload List

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