{"id":1365,"date":"2009-10-26T11:17:58","date_gmt":"2009-10-26T11:17:58","guid":{"rendered":"http:\/\/www.bardecode.com\/newsite\/?p=1365"},"modified":"2013-02-12T11:18:39","modified_gmt":"2013-02-12T11:18:39","slug":"exportxmlsettings-export-xml-settings","status":"publish","type":"post","link":"https:\/\/www.bardecode.com\/newsite\/exportxmlsettings-export-xml-settings\/","title":{"rendered":"ExportXMLSettings &#8211; export xml settings"},"content":{"rendered":"<p><strong><strong>Syntax<\/strong><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>.net\/com\/java\/ocx:\u00a0Object.<strong>ExportXMLSettings<\/strong>(filePath)<br \/>\ndll:\u00a0<strong>mtExportXMLSettings<\/strong>(hBarcode, filePath)<\/strong><\/p>\n<p><strong><strong>Parameters<\/strong><\/strong><\/p>\n<p><strong>hBarcode\u00a0Handle to an instance of the barcode toolkit (dll only).<br \/>\nfilePath\u00a0Path to the xml file to be created.<\/strong><\/p>\n<p><strong><strong>Return Value<\/strong><strong><\/strong><\/strong><\/p>\n<p><strong>1\/True on success and 0\/False on failure.<\/strong><\/p>\n<p><strong><strong>Remarks<\/strong><\/strong><\/p>\n<p><strong>ExportXMLSettings saves the current property values to an XML format file. The settings could be modified and loaded again usingLoadXMLSettings.<\/strong><\/p>\n<p><strong>The default set of properties is as follows:<\/strong><\/p>\n<p><strong>&lt;xml version=&#8217;1.0&#8242; encoding=&#8217;iso-8859-1&#8242;&gt;<\/strong><\/p>\n<p><strong>&lt;SoftekBarcode&gt;<\/strong><\/p>\n<p><strong>&lt;Properties&gt;<\/strong><\/p>\n<p><strong>&lt;AllowDuplicateValues&gt;1&lt;\/AllowDuplicateValues&gt;<\/strong><\/p>\n<p><strong>&lt;BitmapResolution&gt;200&lt;\/BitmapResolution&gt;<\/strong><\/p>\n<p><strong>&lt;CodabarMaxVariance&gt;20&lt;\/CodabarMaxVariance&gt;<\/strong><\/p>\n<p><strong>&lt;Code25Checksum&gt;0&lt;\/Code25Checksum&gt;<\/strong><\/p>\n<p><strong>&lt;Code25MinOccurrenceLength&gt;5&lt;\/Code25MinOccurrenceLength&gt;<\/strong><\/p>\n<p><strong>&lt;Code39Checksum&gt;0&lt;\/Code39Checksum&gt;<\/strong><\/p>\n<p><strong>&lt;Code39NeedStartStop&gt;1&lt;\/Code39NeedStartStop&gt;<\/strong><\/p>\n<p><strong>&lt;ColorChunks&gt;1&lt;\/ColorChunks&gt;<\/strong><\/p>\n<p><strong>&lt;ColorProcessingLevel&gt;2&lt;\/ColorProcessingLevel&gt;<\/strong><\/p>\n<p><strong>&lt;ColorThreshold&gt;0&lt;\/ColorThreshold&gt;<\/strong><\/p>\n<p><strong>&lt;ConvertUPCEToEAN13&gt;1&lt;\/ConvertUPCEToEAN13&gt;<\/strong><\/p>\n<p><strong>&lt;Despeckle&gt;0&lt;\/Despeckle&gt;<\/strong><\/p>\n<p><strong>&lt;Encoding&gt;0&lt;\/Encoding&gt;<\/strong><\/p>\n<p><strong>&lt;ErrorCorrection&gt;0&lt;\/ErrorCorrection&gt;<\/strong><\/p>\n<p><strong>&lt;ExtendedCode39&gt;0&lt;\/ExtendedCode39&gt;<\/strong><\/p>\n<p><strong>&lt;GammaCorrection&gt;100&lt;\/GammaCorrection&gt;<\/strong><\/p>\n<p><strong>&lt;LineJump&gt;1&lt;\/LineJump&gt;<\/strong><\/p>\n<p><strong>&lt;MaxLength&gt;999&lt;\/MaxLength&gt;<\/strong><\/p>\n<p><strong>&lt;MedianFilter&gt;0&lt;\/MedianFilter&gt;<\/strong><\/p>\n<p><strong>&lt;MinSeparation&gt;180&lt;\/MinSeparation&gt;<\/strong><\/p>\n<p><strong>&lt;MinLength&gt;4&lt;\/MinLength&gt;<\/strong><\/p>\n<p><strong>&lt;MinOccurrence&gt;2&lt;\/MinOccurrence&gt;<\/strong><\/p>\n<p><strong>&lt;MinSpaceBarWidth&gt;0&lt;\/MinSpaceBarWidth&gt;<\/strong><\/p>\n<p><strong>&lt;MultipleRead&gt;0&lt;\/MultipleRead&gt;<\/strong><\/p>\n<p><strong>&lt;NoiseReduction&gt;0&lt;\/NoiseReduction&gt;<\/strong><\/p>\n<p><strong>&lt;PageNo&gt;0&lt;\/PageNo&gt;<\/strong><\/p>\n<p><strong>&lt;PatchCodeMinOccurrence&gt;30&lt;\/PatchCodeMinOccurrence&gt;<\/strong><\/p>\n<p><strong>&lt;Pattern&gt;&lt;\/Pattern&gt;<\/strong><\/p>\n<p><strong>&lt;Pdf417Debug&gt;0&lt;\/Pdf417Debug&gt;<\/strong><\/p>\n<p><strong>&lt;PdfBpp&gt;8&lt;\/PdfBpp&gt;<\/strong><\/p>\n<p><strong>&lt;PdfDpi&gt;300&lt;\/PdfDpi&gt;<\/strong><\/p>\n<p><strong>&lt;Photometric&gt;0&lt;\/Photometric&gt;<\/strong><\/p>\n<p><strong>&lt;PrefOccurrence&gt;5&lt;\/PrefOccurrence&gt;<\/strong><\/p>\n<p><strong>&lt;QuietZoneSize&gt;0&lt;\/QuietZoneSize&gt;<\/strong><\/p>\n<p><strong>&lt;ReadCodabar&gt;1&lt;\/ReadCodabar&gt;<\/strong><\/p>\n<p><strong>&lt;ReadCode128&gt;1&lt;\/ReadCode128&gt;<\/strong><\/p>\n<p><strong>&lt;ReadCode25ni&gt;0&lt;\/ReadCode25ni&gt;<\/strong><\/p>\n<p><strong>&lt;ReadCode25&gt;1&lt;\/ReadCode25&gt;<\/strong><\/p>\n<p><strong>&lt;ReadCode39&gt;1&lt;\/ReadCode39&gt;<\/strong><\/p>\n<p><strong>&lt;ReadCode93&gt;0&lt;\/ReadCode93&gt;<\/strong><\/p>\n<p><strong>&lt;ReadDatabar&gt;0&lt;\/ReadDatabar&gt;<\/strong><\/p>\n<p><strong>&lt;ReadDataMatrix&gt;0&lt;\/ReadDataMatrix&gt;<\/strong><\/p>\n<p><strong>&lt;ReadEAN8&gt;1&lt;\/ReadEAN8&gt;<\/strong><\/p>\n<p><strong>&lt;ReadEAN13&gt;1&lt;\/ReadEAN13&gt;<\/strong><\/p>\n<p><strong>&lt;ReadMicroPDF417&gt;0&lt;\/ReadMicroPDF417&gt;<\/strong><\/p>\n<p><strong>&lt;ReadNumeric&gt;0&lt;\/ReadNumeric&gt;<\/strong><\/p>\n<p><strong>&lt;ReadPatchCodes&gt;0&lt;\/ReadPatchCodes&gt;<\/strong><\/p>\n<p><strong>&lt;ReadPDF417&gt;0&lt;\/ReadPDF417&gt;<\/strong><\/p>\n<p><strong>&lt;ReadShortCode128&gt;0&lt;\/ReadShortCode128&gt;<\/strong><\/p>\n<p><strong>&lt;ReadUPCA&gt;0&lt;\/ReadUPCA&gt;<\/strong><\/p>\n<p><strong>&lt;ReadUPCE&gt;1&lt;\/ReadUPCE&gt;<\/strong><\/p>\n<p><strong>&lt;ScanDirection&gt;15&lt;\/ScanDirection&gt;<\/strong><\/p>\n<p><strong>&lt;ShortCode128MinLength&gt;2&lt;\/ShortCode128MinLength&gt;<\/strong><\/p>\n<p><strong>&lt;SkewLineJump&gt;9&lt;\/SkewLineJump&gt;<\/strong><\/p>\n<p><strong>&lt;SkewTolerance&gt;0&lt;\/SkewTolerance&gt;<\/strong><\/p>\n<p><strong>&lt;ShowCheckDigit&gt;0&lt;\/ShowCheckDigit&gt;<\/strong><\/p>\n<p><strong>&lt;ShowCodabarStartStop&gt;1&lt;\/ShowCodabarStartStop&gt;<\/strong><\/p>\n<p><strong>&lt;SkewSpeed&gt;3&lt;\/SkewSpeed&gt;<\/strong><\/p>\n<p><strong>&lt;UseOldCode128Algorithm&gt;0&lt;\/UseOldCode128Algorithm&gt;<\/strong><\/p>\n<p><strong>&lt;UseRunCache&gt;1&lt;\/UseRunCache&gt;<\/strong><\/p>\n<p><strong>&lt;UseOverSampling&gt;0&lt;\/UseOverSampling&gt;<\/strong><\/p>\n<p><strong>&lt;WeightLongerBarcodes&gt;1&lt;\/WeightLongerBarcodes&gt;<\/strong><\/p>\n<p><strong>&lt;\/Properties&gt;<\/strong><\/p>\n<p><strong>&lt;\/SoftekBarcode&gt;<\/strong><\/p>\n<p><strong>&lt;\/xml&gt;<\/strong><\/p>\n<p><strong><strong>Win32 dll declarations:<\/strong><\/strong><\/p>\n<p><strong><strong>VB.Net:<\/strong><\/strong><\/p>\n<p><strong>Private Declare Function mtExportXMLSettings Lib &#8220;SoftekBarcode&#8221; (ByVal hBarcode As System.IntPtr, ByVal strFile As String) As Short<\/strong><\/p>\n<p><strong><br \/>\n<strong>Visual C++:<\/strong><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>extern &#8220;C&#8221; {<br \/>\nint __stdcall stExportXMLSettings(LPCSTR filePath) ;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Syntax &nbsp; .net\/com\/java\/ocx:\u00a0Object.ExportXMLSettings(filePath) dll:\u00a0mtExportXMLSettings(hBarcode, filePath) Parameters hBarcode\u00a0Handle to an instance of the barcode toolkit (dll only). filePath\u00a0Path 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 &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[236,18],"tags":[],"class_list":["post-1365","post","type-post","status-publish","format-standard","hentry","category-documentation-for-our-toolkits-and-applications","category-knowledge-base"],"_links":{"self":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts\/1365"}],"collection":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/comments?post=1365"}],"version-history":[{"count":2,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts\/1365\/revisions"}],"predecessor-version":[{"id":1367,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts\/1365\/revisions\/1367"}],"wp:attachment":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/media?parent=1365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/categories?post=1365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/tags?post=1365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}