LBarCode::IsValid

#include "ltwrappr.h"

L_BOOL LBarCode::IsValid (L_VOID)

Determines whether the LBarCode object is valid.

Returns

TRUE

There is a pointer to a valid bitmap object.

FALSE

There is not a pointer to a valid bitmap object.

Comments

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

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, LBarCode::SetBitmap, Class Members

Topics:

Programming with LEADTOOLS Barcode

Barcode Function Functions: Getting Barcode Information

Example

For complete sample code, refer to the BarCode demo.

For an example, refer to LBarCode::Write.