LBarCode::LBarCode

#include "ltwrappr.h"

LBarCode::LBarCode ()

LBarCode::LBarCode (pLBitmap)

LBitmapBase * pLBitmap;

/* pointer to an LBitmapBase object */

Constructs and initializes the different member variables of the LBarCode object.

Parameter

Description

pLBitmap

Pointer to the bitmap object used to initialize the LBarCode object.

Returns

None.

Comments

LBarCode::LBarCode() is a constructor for the LBarCode class.

LBarCode::LBarCode(pLBitmap) constructs and initializes the LBarCode object with the passed bitmap object pointer.

Required DLLs and Libraries

LTBAR

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LBarCode::~LBarCode, Class Members

Example

For complete sample code, refer to the BarCode demo.

This is an example for LBarCode::LBarCode():

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;
}