←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

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