'Declaration
Public Overloads Function BarcodeDataMatrixReaderDoScan( _ ByVal ImageID As Integer, _ ByVal ScanMode As BarcodeDataMatrixReaderScanMode, _ ByVal ExpectedCount As Integer, _ ByVal StopOnExpectedCount As Boolean _ ) As GdPictureStatus
public GdPictureStatus BarcodeDataMatrixReaderDoScan( int ImageID, BarcodeDataMatrixReaderScanMode ScanMode, int ExpectedCount, bool StopOnExpectedCount )
public function BarcodeDataMatrixReaderDoScan( ImageID: Integer; ScanMode: BarcodeDataMatrixReaderScanMode; ExpectedCount: Integer; StopOnExpectedCount: Boolean ): GdPictureStatus;
public function BarcodeDataMatrixReaderDoScan( ImageID : int, ScanMode : BarcodeDataMatrixReaderScanMode, ExpectedCount : int, StopOnExpectedCount : boolean ) : GdPictureStatus;
public: GdPictureStatus BarcodeDataMatrixReaderDoScan( int ImageID, BarcodeDataMatrixReaderScanMode ScanMode, int ExpectedCount, bool StopOnExpectedCount )
public: GdPictureStatus BarcodeDataMatrixReaderDoScan( int ImageID, BarcodeDataMatrixReaderScanMode ScanMode, int ExpectedCount, bool StopOnExpectedCount )
Parameters
- ImageID
- A unique image identifier of the GdPicture image representing the image in use.
- ScanMode
- A member of the BarcodeDataMatrixReaderScanMode enumeration. The scan mode (speed or quality) used for scanning process.
- ExpectedCount
- Specifies the number of barcodes expected to be detected. Use 0 to find all available barcodes within an image.
- StopOnExpectedCount
- If this is set to true and ExpectedCount > 0, the recognition process stops after first ExpectedCount barcodes were found.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.