←Select platform

Load(String) Method

Summary

Loads this BarcodeOptions from the specified XML file.

Syntax

C#
VB
C++
public void Load(  
   string fileName 
) 
Public Overloads Sub Load( _ 
   ByVal fileName As String _ 
)  
public: 
void Load(  
   String^ fileName 
)  

Parameters

fileName
The XML file 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.

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

Example

For an example, refer to BarcodeReadOptions.Save(string fileName).

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize