Determines whether the LBarCode object is valid.
#include "ltwrappr.h"
L_BOOL LBarCode::IsValid (L_VOID)
Value | Meaning |
---|---|
TRUE | There is a pointer to a valid bitmap object. |
FALSE | There is not a pointer to a valid bitmap object. |
Call this function to determine whether the class object has been associated with a valid LBitmapBase object.
Before using some of the LBarCode functions, a bitmap must be associated with the class object. Until a valid bitmap object is associated with the LBarCode object, this function will return false.
Specifically, barcodes cannot be read or written until a valid bitmap is associated with the LBarCode class object.
For complete sample code, refer to the BarCode demo.
For an example, refer to LBarCode::Write.