Saves the default write options used for this BarcodeWriter to the specified XML stream.
public void SaveOptions(
Stream stream
)
Public Overloads Sub SaveOptions( _
ByVal stream As Stream _
)
public:
void SaveOptions(
Stream^ stream
)
stream
The XML Stream to save the data to.
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 stream, use BarcodeWriter.LoadOptions(Stream stream).
To save and load data to an XML file, use BarcodeWriter.SaveOptions(string fileName) and BarcodeWriter.LoadOptions(string fileName).
For an example, refer to LoadOptions(string fileName)
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET