bardecode.com
barcode reading software
  • Home
  • Download
  • Purchase
  • SDK Licensing
  • Pricing
    • Windows SDK Price List
    • Windows SDK with PDF Extension Price List
    • Linux SDK Price List
    • Linux SDK with PDF Extension Price List
    • PDF Extension For Windows Price List
    • Multi-Platform Toolkit for .NET Price List
    • BardecodeFiler Desktop Only Price List
    • BardecodeFiler Windows Service Price List
    • DOS Command Prompt Barcode Tool Price List
    • Terms and Conditions
    • Refund Policy
  • Products
    • Softek Barcode Reader Toolkit for Windows
    • Softek Barcode Reader Toolkit for Linux
    • BardecodeFiler Desktop App
    • BardecodeFiler Windows Service
    • Windows DOS Command Prompt Tool
    • Multi-platform barcode reader toolkit for .NET
    • Aquaforest’s Autobahn DX
  • Knowledge Base
    • Documentation
    • Specifications
  • News
  • Contact
    • About Us
    • Terms and Conditions
    • Resellers
    • Links
Select Page ...

News

ExportXMLSettings - export xml settings

admin October 26, 2009 Documentation, Knowledge Base No Comments

Syntax

 

.net/com/java/ocx: Object.ExportXMLSettings(filePath)
dll: mtExportXMLSettings(hBarcode, filePath)

Parameters

hBarcode Handle to an instance of the barcode toolkit (dll only).
filePath Path to the xml file to be created.

Return Value

1/True on success and 0/False on failure.

Remarks

ExportXMLSettings saves the current property values to an XML format file. The settings could be modified and loaded again usingLoadXMLSettings.

The default set of properties is as follows:

<xml version=’1.0′ encoding=’iso-8859-1′>

<SoftekBarcode>

<Properties>

<AllowDuplicateValues>1</AllowDuplicateValues>

<BitmapResolution>200</BitmapResolution>

<CodabarMaxVariance>20</CodabarMaxVariance>

<Code25Checksum>0</Code25Checksum>

<Code25MinOccurrenceLength>5</Code25MinOccurrenceLength>

<Code39Checksum>0</Code39Checksum>

<Code39NeedStartStop>1</Code39NeedStartStop>

<ColorChunks>1</ColorChunks>

<ColorProcessingLevel>2</ColorProcessingLevel>

<ColorThreshold>0</ColorThreshold>

<ConvertUPCEToEAN13>1</ConvertUPCEToEAN13>

<Despeckle>0</Despeckle>

<Encoding>0</Encoding>

<ErrorCorrection>0</ErrorCorrection>

<ExtendedCode39>0</ExtendedCode39>

<GammaCorrection>100</GammaCorrection>

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

<PageNo>0</PageNo>

<PatchCodeMinOccurrence>30</PatchCodeMinOccurrence>

<Pattern></Pattern>

<Pdf417Debug>0</Pdf417Debug>

<PdfBpp>8</PdfBpp>

<PdfDpi>300</PdfDpi>

<Photometric>0</Photometric>

<PrefOccurrence>5</PrefOccurrence>

<QuietZoneSize>0</QuietZoneSize>

<ReadCodabar>1</ReadCodabar>

<ReadCode128>1</ReadCode128>

<ReadCode25ni>0</ReadCode25ni>

<ReadCode25>1</ReadCode25>

<ReadCode39>1</ReadCode39>

<ReadCode93>0</ReadCode93>

<ReadDatabar>0</ReadDatabar>

<ReadDataMatrix>0</ReadDataMatrix>

<ReadEAN8>1</ReadEAN8>

<ReadEAN13>1</ReadEAN13>

<ReadMicroPDF417>0</ReadMicroPDF417>

<ReadNumeric>0</ReadNumeric>

<ReadPatchCodes>0</ReadPatchCodes>

<ReadPDF417>0</ReadPDF417>

<ReadShortCode128>0</ReadShortCode128>

<ReadUPCA>0</ReadUPCA>

<ReadUPCE>1</ReadUPCE>

<ScanDirection>15</ScanDirection>

<ShortCode128MinLength>2</ShortCode128MinLength>

<SkewLineJump>9</SkewLineJump>

<SkewTolerance>0</SkewTolerance>

<ShowCheckDigit>0</ShowCheckDigit>

<ShowCodabarStartStop>1</ShowCodabarStartStop>

<SkewSpeed>3</SkewSpeed>

<UseOldCode128Algorithm>0</UseOldCode128Algorithm>

<UseRunCache>1</UseRunCache>

<UseOverSampling>0</UseOverSampling>

<WeightLongerBarcodes>1</WeightLongerBarcodes>

</Properties>

</SoftekBarcode>

</xml>

Win32 dll declarations:

VB.Net:

Private Declare Function mtExportXMLSettings Lib “SoftekBarcode” (ByVal hBarcode As System.IntPtr, ByVal strFile As String) As Short


Visual C++:

 

extern “C” {
int __stdcall stExportXMLSettings(LPCSTR filePath) ;

}

 

← GetBarString – retrieve a barcode value
UseOverSampling – sample 3 scan lines at a time →
admin

  • Copyright © 2023 Softek Software Ltd. All Rights Reserved