MBS Plugin Documentation
Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchie
New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0
The list of the themes, classes, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
BarcodeScannerMBS.Barcode as String
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The barcode result of the last scan.
Notes:
If the last scan was successful, this property has a value.
If the last scan failed, this property is empty.
(Read and Write property)
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The barcode result of the last scan.
Notes:
If the last scan was successful, this property has a value.
If the last scan failed, this property is empty.
(Read and Write property)
BarcodeScannerMBS.CheckDigits as Boolean
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether to calculate the checksum.
Notes:
Normal 12 or 13 digit barcodes have the last number being a checksum.
If it does not match, the barcode is declined.
Default is false.
(Read and Write property)
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether to calculate the checksum.
Notes:
Normal 12 or 13 digit barcodes have the last number being a checksum.
If it does not match, the barcode is declined.
Default is false.
(Read and Write property)
class BarcodeScannerMBS
class, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A class to read a barcode from a given picture.
class, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A class to read a barcode from a given picture.
BarcodeScannerMBS.LastBarcode as String
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The barcode result of the last successful scan.
Notes:
If a scan fails, this value still has the value of the last successful scan.
(Read and Write property)
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The barcode result of the last successful scan.
Notes:
If a scan fails, this value still has the value of the last successful scan.
(Read and Write property)
BarcodeScannerMBS.LastPicture as Picture
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The last picture used for the scan.
Notes: (Read and Write property)
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The last picture used for the scan.
Notes: (Read and Write property)
BarcodeScannerMBS.MinimumLength as Integer
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The minimum length of barcodes.
Notes:
Set to 0 to disable.
To avoid false barcodes, any barcode is rejected which does not have the sufficient length.
Default is 13.
(Read and Write property)
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The minimum length of barcodes.
Notes:
Set to 0 to disable.
To avoid false barcodes, any barcode is rejected which does not have the sufficient length.
Default is 13.
(Read and Write property)
BarcodeScannerMBS.Mode as Integer
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The mode of the scanner.
Notes:
Mode 0 is to scan EANs.
Mode 1 is to scan 2/5 family barcodes.
(Read and Write property)
property, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The mode of the scanner.
Notes:
Mode 0 is to scan EANs.
Mode 1 is to scan 2/5 family barcodes.
(Read and Write property)
BarcodeScannerMBS.Scan(p as picture) as boolean
method, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scans for a barcode on the picture.
Notes:
The barcode is searched on the middle vertical line from the left to right.
So the picture you pass can be as small as just one pixel height.
The barcode should be horizontal centered in that picture for best results.
Returns true on success and false on failure.
method, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scans for a barcode on the picture.
Notes:
The barcode is searched on the middle vertical line from the left to right.
So the picture you pass can be as small as just one pixel height.
The barcode should be horizontal centered in that picture for best results.
Returns true on success and false on failure.
BarcodeScannerMBS.Scan(p as picture, lines() as integer) as boolean
method, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scans for a barcode on the picture.
Example:
The barcode is searched on the lines with the given offsets from the left to right.
The lines array must have at least one entry specifying the lines to search on.
If the values in the lines array are out of bounds, they are ignored. The first line has the value 0.
So the picture you pass can be as small as just one pixel height.
The barcode should be horizontal centered in that picture for best results.
Returns true on success and false on failure.
method, Graphics & Pictures, MBS Picture Plugin (BarcodeScanner), class BarcodeScannerMBS, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scans for a barcode on the picture.
Example:
dim i as integer
dim lines(-1) as integer
dim b as BarcodeScannerMBS
dim p as Picture
// set b to your scanner and p to your picture
for i=0 to 99
lines.append i*10 // search every 10th line on a 1000 pixel high image.
next
if b.scan(p,lines) then
// ok
end if
Notes: The barcode is searched on the lines with the given offsets from the left to right.
The lines array must have at least one entry specifying the lines to search on.
If the values in the lines array are out of bounds, they are ignored. The first line has the value 0.
So the picture you pass can be as small as just one pixel height.
The barcode should be horizontal centered in that picture for best results.
Returns true on success and false on failure.
The items on this page are in the following plugins: MBS Picture Plugin.
Monkeybread Software Realbasic Plugins - Christians Software