LBitmapBase::IsTiled

#include "ltwrappr.h"

L_BOOL LBitmapBase::IsTiled()

Determines whether the class objects bitmap is a tiled bitmap.

Returns

TRUE

The bitmap is tiled.

FALSE

The bitmap is not tiled.

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.

Platforms

Win32, x64.

See Also

Functions:

LBitmapBase::GetHandle, LBitmapBase::GetViewPerspective, LBitmapBase::HasRgn, LBitmapBase::IsGrayScale, LBitmapBase::IsInterlaced, LBitmapBase::IsPixelsSigned, Class Members

Topics:

Getting or Setting Bitmap Information

 

Raster Image Functions: Getting or Setting Bitmap Information

Example

#define MAKE_IMAGE_PATH(pFileName) TEXT("C:\\Users\\Public\\Documents\\LEADTOOLS Images\\")pFileName
L_INT LBitmapBase__IsTiledExample()
{
   L_INT nRet;
   LBitmapBase MyBitmap;
   L_BOOL bTiled;
   nRet =MyBitmap.Load(MAKE_IMAGE_PATH(TEXT("image1.cmp")),1);
   if(nRet !=SUCCESS)
      return nRet;
   
   bTiled=MyBitmap.IsTiled ();
   return SUCCESS;
}