This interface holds a collection of barcode results. More...
Public Member Functions | |
void | Draw (HDC hdc, int index, LPVBarcodeDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY) |
void | DrawAll (HDC hdc, LPVBarcodeDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY) |
ILBarcodeResult * | Item (int index) |
![]() | |
int | Count () |
BOOL | Empty () |
ILObject * | ItemObject (int objIndex) |
![]() | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Additional Inherited Members | |
![]() | |
LString | Name [get, set] |
Name of the object. By default, the object has no name. In most cases, LPV classes don't make use of the names. The name is drawn on canvas around the object if ILDrawable::SetDrawName() is enabled. More... | |
This interface holds a collection of barcode results.
Usually you get the LBarcodeResults object from the ILBarcode::Detect() as results. You can then use this interface to access individual result and draw the results on graphics windows.
Note: This interface is currently not available on Linux / MacOS platform.
void Draw | ( | HDC | hdc, |
int | index, | ||
LPVBarcodeDrawFlags | drawFlags, | ||
double | zoomX, | ||
double | zoomY, | ||
double | panX, | ||
double | panY | ||
) |
Draw one barcode result of given index onto provide device context.
[in] | index | Input index, it should be a 0-based number smaller than total count. |
[in] | drawFlags | Flags to control the barcode drawing behavior, see LPVBarcodeDrawFlags for usage. |
void DrawAll | ( | HDC | hdc, |
LPVBarcodeDrawFlags | drawFlags, | ||
double | zoomX, | ||
double | zoomY, | ||
double | panX, | ||
double | panY | ||
) |
Draw all barcode results onto provide device context.
[in] | drawFlags | Flags to control the barcode drawing behavior, see LPVBarcodeDrawFlags for usage. |
ILBarcodeResult* Item | ( | int | index | ) |
Fetch one result with given index.
[in] | index | Input index, it should be a 0-based number smaller than total count. |
result | Return the barcode result of given index. |