←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, BarcodeWriter and BarcodeWriter do not use these methods internally.

To save a BarcodeWriteOptions to an XML file, use BarcodeWriteOptions.Save(string fileName).

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

Example

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

Requirements

Target Platforms

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

Leadtools.Barcode Assembly