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

SaveOptions(String) Method








Name of the XML file to create
Saves the default write options used for this BarcodeWriter from to the specified XML file. .NET support
Syntax
public void SaveOptions( 
   string fileName
)
'Declaration
 
Public Overloads Sub SaveOptions( _
   ByVal fileName As String _
) 
'Usage
 
Dim instance As BarcodeWriter
Dim fileName As String
 
instance.SaveOptions(fileName)
public void SaveOptions( 
   string fileName
)
ObjectiveC Syntax
 function Leadtools.Barcode.BarcodeWriter.SaveOptions(String)( 
   fileName 
)
public:
void SaveOptions( 
   String^ fileName
) 

Parameters

fileName
Name of the XML file to create
Remarks

The load/save methods are provided as helper methods for the user. The BarcodeEngine, BarcodeWriter and BarcodeWriter do not use these methods internally.

The default write options can be retrieved using the GetDefaultOptions or GetAllDefaultOptions methods. You can then change the values of the BarcodeWriteOptions object returned (or cast it back to the appropriate derived class). These options are used by the WriteBarcode method when no explicit options are passed by the user.

To load the default options from an XML file, use BarcodeWriter.LoadOptions(string fileName).

To save and load data to an XML stream, use BarcodeWriter.SaveOptions(Stream stream) and BarcodeWriter.LoadOptions(Stream stream).

Example

For an example, refer to LoadOptions(string fileName)

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

BarcodeWriter Class
BarcodeWriter 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