Available in LEADTOOLS Barcode Modules.
|
BARCODEREADPDF
typedef struct tagBarCodeReadPDF
{
L_UINT uStructSize;
L_INT nDirection;
} BARCODEREADPDF,* pBARCODEREADPDF;
This structure contains information for reading PDF symbols.
Member |
Description |
|
uStructSize |
Size of BARCODECOLOR structure in bytes. Use the sizeof() macro to calculate this value. |
|
nDirection |
Flag that indicates the orientation and direction for reading barcodes. You can combine values when appropriate, by using a bitwise OR ( | ). Possible values are : |
|
|
Value |
Meaning |
|
BARCODE_DIR_LEFT_TO_RIGHT |
[0x001] To read from left to right across the bitmap. |
|
BARCODE_DIR_RIGHT_TO_LEFT |
[0x002] To read from right to left across the bitmap. |
|
BARCODE_DIR_TOP_TO_BOTTOM |
[0x004] To read from top to bottom across the bitmap. |
|
BARCODE_DIR_BOTTOM_TO_TOP |
[0x008] To read from bottom to top across the bitmap. |
|
BARCODE_DIR_SKEW |
[0x010] To read in a skewed or diagonal direction. |
|
BARCODE_DIR_HORIZONTAL |
[0x020] To read horizontally (left to right and right to left). |
|
BARCODE_DIR_VERTICAL |
[0x040] To read vertically (top to bottom and bottom to top). |
|
BARCODE_DIR_DIAGONAL |
[0x080] To read in a diagonal or skewed direction. |
Comments
pBARCODEREADPDF is a pointer to an BARCODEREADPDF structure. Where the function parameter type is pBARCODEREADPDF, you can declare a BARCODEREADPDF variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pBARCODEREADPDF variable is necessary only if your program requires a pointer.