LBitmap::GetOverlayCount

Summary

Gets the number of overlays that have been defined for the specified main bitmap.

Syntax

#include "ltwrappr.h"

virtual L_UINT LBitmap::GetOverlayCount(uFlags)

Parameters

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

The overlay count

Comments

This function will count how many overlays have been defined. The overlays are defined by calling LBitmap::SetOverlay or LBitmap::SetOverlayAttributes.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

This example will count the overlays from plBitmap which has been defined and initialized elsewhere.

L_INT LBitmap__GetOverlayCountExample(LBitmap *pBitmap) 
{ 
   L_UINT uCount;  
 
   uCount = pBitmap->GetOverlayCount(0);  
 
   /* now uCount contains the number of overlays */  
    
   return SUCCESS; 
} 

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.