←Select platform

Load(string) Method

Summary
Loads an array of BarcodeData from the specified XML file.
Syntax
C#
VB
C++
public static BarcodeData[] Load( 
   string fileName 
) 
Public Overloads Shared Function Load( _ 
   ByVal fileName As String _ 
) As BarcodeData() 
public: 
static array<BarcodeData^>^ Load(  
   String^ fileName 
)  

Parameters

fileName
The XML file containing the data.

Return Value

An array of BarcodeData for the objects found in the file, or an empty array if the file is valid but does not contain any 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 an array of BarcodeData to an XML file, use BarcodeData.Save(string fileName, BarcodeData[] data).

To save and load data to an XML stream, use BarcodeData.Save(Stream stream, BarcodeData[] data) and BarcodeData.Load(Stream stream).

Example

For an example, refer to BarcodeData.Save(string fileName, BarcodeData[] data).

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.