LBarCode::LBarCode

#include "ltwrappr.h"

L_VOID LBarCode::LBarCode (L_VOID)

L_VOID LBarCode::LBarCode (pLBitmap)

LBitmapBase L_FAR * 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_VOID TestFunction()
{
   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
}

 

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

L_VOID TestFunction()
{
   LBase::LoadLibraries(LT_ALL_LEADLIB);   //make sure all libraries are loaded
   LBitmapBase Bitmap;

   LBarCode MyBarCode(&Bitmap);
   
   // ...
   // do something here
   // ..
   //The destructor is called here
}