LBitmapBase::Is1BitCompressed

#include "ltwrappr.h"

L_BOOL LBitmapBase::Is1BitCompressed(void)

Determines whether the class object’s bitmap data is 1-bit compressed in memory.

Returns

TRUE

The bitmap is a 1-bit compressed bitmap in memory.

FALSE

The bitmap is not a 1-bit compressed bitmap in memory.

Comments

Use this function to check if the bitmap data is 1-bit compressed in memory.

Required DLLs and Libraries

LTDIS
LTFIL

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

Elements:

Class Members

Example

LBitmapBase MyBitmap;
L_BOOL  bU1BC;

MyBitmap.Load(TEXT("image1.cmp"),1);
bU1BC=MyBitmap.Is1BitCompressed();