The LEADTOOLS C++ Class Library is a wrapper to the LEADTOOLS C API and provides only a subset of the features and functionality otherwise available in the LEADTOOLS C API. For more information about the full feature set of the LEADTOOLS C API, refer to LEADTOOLS C API Introduction.
#include "ltwrappr.h"
L_BOOL LBarCode::IsValid (L_VOID)
Determines whether the LBarCode object is valid.
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.
Required DLLs and Libraries
For complete sample code, refer to the BarCode demo. For an example, refer to LBarCode::Write.