Constructs and initializes the different member variables of the LBarCode object.
#include "ltwrappr.h"
LBarCode::LBarCode ()
LBarCode::LBarCode (pLBitmap)
Pointer to the bitmap object used to initialize the LBarCode object.
None.
LBarCode::LBarCode() is a constructor for the LBarCode class.
LBarCode::LBarCode(pLBitmap) constructs and initializes the LBarCode object with the passed bitmap object pointer.
For complete sample code, refer to the BarCode demo.
L_INT LBarCode_LBarCodeExample_1()
{
LBase::LoadLibraries(LT_ALL_LEADLIB); //make sure all libraries are loaded
//Construct a LEAD BarCode object
LBarCode MyBarCode;
// ...
// do something here
// ..
//The destructor is called here
return SUCCESS;
}
// This is an example for LBarCode::LBarCode(pLBitmap):
L_INT LBarCode_LBarCodeExample_2()
{
LBase::LoadLibraries (LT_ALL_LEADLIB); //make sure all libraries are loaded
LBitmapBase Bitmap;
LBarCode MyBarCode(&Bitmap);
// ...
// do something here
// ..
//The destructor is called here
return SUCCESS;
}