Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Barcode C++ Class Library Help

LBarCode::LBarCode

Show in webframe

#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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.