Showing 237 Result(s)

ExportXMLSettings – export xml settings

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 …

GetBarString – retrieve a barcode value

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 …

GetBarStringDirection – retrieve the orientation of a barcode

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

GetBarStringPos – position and page number for a barcode

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 …

GetBarStringType – get the type of barcode

Syntax     .net/java/ocx: Object.GetBarStringType(n) com: Object.BarStringType(n) dll: mtGetBarStringType(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 GetBarStringType returns a string representing the type of barcode. In .net applications, use System.Runtime.InteropServices.Marshal.PtrToStringAnsi to convert the IntPtr returned by mtGetBarString to a String. Remarks Call GetBarStringType after calling …