←Select platform

Load(Stream) Method

Summary

Loads an array of BarcodeData from the XML stream.

Syntax

C#
VB
C++
public static BarcodeData[] Load( 
   Stream stream 
) 
Public Overloads Shared Function Load( _ 
   ByVal stream As Stream _ 
) As Leadtools.Barcode.BarcodeData() 
public: 
static Leadtools.Barcode.array<BarcodeData^>^ Load(  
   Stream^ stream 
)  

Parameters

stream
The XML stream 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 stream, use BarcodeData.Save(Stream stream, BarcodeData[] data).

To save and load data to an XML disk file, use BarcodeData.Save(string fileName, BarcodeData[] data) and BarcodeData.Load(string fileName).

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly