LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

Load(String) Method








The XML file containing the data.
Loads an array of BarcodeData from the specified XML file. .NET support WinRT support
Syntax
public static BarcodeData[] Load( 
   string fileName
)
'Declaration
 
Public Overloads Shared Function Load( _
   ByVal fileName As String _
) As BarcodeData()
'Usage
 
Dim fileName As String
Dim value() As BarcodeData
 
value = BarcodeData.Load(fileName)
public static BarcodeData[] Load( 
   string fileName
)
ObjectiveC Syntax
 function Leadtools.Barcode.BarcodeData.Load(String)( 
   fileName 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BarcodeData Class
BarcodeData Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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