Overview ScanDirection is a mask that controls the directions in which the barcode reader will look for barcodes in an image, and is built from the following values: 1 = Left to Right 2 = Top to Bottom 4 = Right To Left 8 = Bottom to Top For example, a value of 5
Overview When set to TRUE the OCX will include the barcode check digit in the returned string. Note: This property only applies to barcode types with built in check digits (e.g Code 128). Type: BOOL Default value: FALSE
Overview SkewTolerance controls the maximum angle from the horizontal or vertical at which a barcode will be recognised by the toolkit. The table below shows the possible values for this property along with the approximate maximum angles: 0 = up to 5 degrees 1 = 13 degrees 2 = 21 degrees 3 = 29 degrees
Overview TifSplitMode controls the way in which multi-page TIF files are split into sub-files when the TifSplitPath property is set. A value of 0 means that the sub-files will each start on a page with a bar code (or page 1). A value of 1 means that each sub-file will terminate on a page
Overview TifSplitPath is the file path template for splitting multi-page TIF files into sub-files in either TIF or PDF format. The template can include the following conversion specifications: %d replaced by a sub-file index number (starting at 1) %s replaced by the barcode found in the sub-file (modes 0 and 1) or
Overview When UseOverSampling is TRUE the barcode reader samples 3 lines at a time (skipping 2 lines between each sample) and takes the average pixel value. This is useful for images containing both black and white speckles. Type: BOOL Default value: FALSE
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
Syntax .net/java/ocx: Object.GetBarString(n) com: Object.BarString(n) dll: mtGetBarString (hBarcode, n) Parameters hBarcode Handle to an instance of the barcode toolkit (dll only). n 1-based index to barcode to be queried. Return Value GetBarString retrieves a barcode string that has been detected by the ScanBarCode method. In .net applications, useSystem.Runtime.InteropServices.Marshal.PtrToStringAnsi to convert the IntPtr returned by mtGetBarString to a String. Remarks · Check digit characters are
Syntax .net/java/ocx: Object.GetBarStringDirection(n) com: Object.BarStringDirection(n) dll: mtGetBarStringDirection(hBarcode, n) Parameters hBarcode Handle to an instance of the barcode toolkit (dll only). n 1-based index to barcode to be queried. Return Value 1 = Left to Right 2 = Top to Bottom 4 = Right to Left 8 = Bottom to Top 16 = Top Left to Bottom Right 32 =
Syntax .net: System.Drawing.Rectangle Object.GetBarStringRect(n) Object.GetBarStringPage(n) com: Object.BarStringPage(n) Object.BarStringTopLeftX(n) Object.BarStringTopLeftY(n) Object.BarStringBottomRightX(n) Object.BarStringBottomRightY(n) ocx: pageNo = Object.GetBarStringPos(n, &TopLeftX &TopLeftY, &BottomRightX, &BottomRightY) dll: pageNo = mtGetBarStringPos(hBarcode, n, &TopLeftX, &TopLeftY, &BottomRightX, &BottomRightY) Parameters hBarcode Handle to an instance of the barcode toolkit (dll only). n 1-based index to barcode to be queried. TopLeftX variable to receive x coordinate of the top left hand