Barcode type is known and may not be horizontal (possibly skewed)

To read barcodes where the barcode type is known and the barcode may not be horizontal (skewed), developers should perform the following steps:

 

  1. Call the DetectBarCodePositions function to determine the position of the barcode

  2. Call the GetBarCodeOrientation function to determine the angle of skewing. 

    1. If the angle of skewing is less than 6 degrees, call the horizontal barcode read function for that particular barcode type, for example ReadHorVerCode128BarCode.

    2. If the angle of skewing is more than 6 degrees, call the skewed barcode read function for that particular barcode type, for example ReadSkewedCode128BarCode.