Overview
ExportXMLSettings(file)
ExportXMLSettings saves the current property values to an XML format file. The settings could be modified and loaded again using LoadXMLSettings.
The default set of properties is as follows:
<xml version='1.0' encoding='iso-8859-1'> <SoftekBarcode> <Properties> <AllowDuplicateValues>1</AllowDuplicateValues> <Code39Checksum>0</Code39Checksum> <Code39NeedStartStop>1</Code39NeedStartStop> <ColorThreshold>0</ColorThreshold> <ConvertUPCEToEAN13>1</ConvertUPCEToEAN13> <Despeckle>0</Despeckle> <ErrorCorrection>0</ErrorCorrection> <ExtendedCode39>0</ExtendedCode39> <LineJump>1</LineJump> <MaxLength>999</MaxLength> <MedianFilter>0</MedianFilter> <MinSeparation>180</MinSeparation> <MinLength>4</MinLength> <MinOccurrence>2</MinOccurrence> <MinSpaceBarWidth>0</MinSpaceBarWidth> <MultipleRead>0</MultipleRead> <NoiseReduction>0</NoiseReduction> <Pattern></Pattern> <PageNo>0</PageNo> <PrefOccurrence>5</PrefOccurrence> <QuietZoneSize>0</QuietZoneSize> <ReadCodabar>1</ReadCodabar> <ReadCode128>1</ReadCode128> <ReadCode25ni>0</ReadCode25ni> <ReadCode25>1</ReadCode25> <ReadCode39>1</ReadCode39> <ReadEAN13>1</ReadEAN13> <ReadNumeric>0</ReadNumeric> <ReadPatchCodes>0</ReadPatchCodes> <ReadPDF417>1</ReadPDF417> <ReadUPCA>0</ReadUPCA> <ReadUPCE>1</ReadUPCE> <ScanDirection>15</ScanDirection> <SkewTolerance>0</SkewTolerance> <ShowCheckDigit>0</ShowCheckDigit> <UseOverSampling>0</UseOverSampling> </Properties> </SoftekBarcode> </xml>
Return Value
1 on success and 0 on failure.
Visual Basic using the OCX
retval = [form.]SoftekBarcode.ExportXMLSettings(file)
Visual Basic using the DLL
Private Declare Function stExportXMLSettings Lib "SoftekBarcode" (ByVal strFile As String) As Integer
retval = stExportXMLSettings(file)
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.ExportXMLSettings(file)
retval = oBar.XMLRetval
VB.Net using the DLL
Private Declare Function stExportXMLSettings Lib "SoftekBarcode" (ByVal strFile As String) As Short
retval = stExportXMLSettings(file)
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
retval = barcode.ExportXMLSettings(file)
VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
retval = barcode.ExportXMLSettings(file)
Visual C++ Using the OCX
short ExportXMLSettings(file)
Visual C++ Using the DLL
short __stdcall stExportXMLSettings(LPCTSTR file);



