Retrieves the size of the memory allocated for the bitmap data.
#include "ltwrappr.h"
L_SIZE_T LBitmapBase::GetMemSize()
The size of memory allocated for the bitmap data.
Use this function to retrieve the size of the memory allocated for the bitmap data.
Win32, x64.
L_INT LBitmapBase__GetMemSizeExample()
{
L_INT nRet;
LBitmapBase MyBitmap;
L_SIZE_T uMemSize;
nRet =MyBitmap.Load(MAKE_IMAGE_PATH(TEXT("image1.cmp")));
if(nRet !=SUCCESS)
return nRet;
uMemSize=MyBitmap.GetMemSize();
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document