#include "l_bitmap.h"
L_LTDIS_API L_INT L_UpdateMagGlassBitmap(hWnd, pBitmap, bUpdateBitmap)
Updates the magnifying glass bitmap with a new bitmap.
Handle of the window to which the magnifying glass is attached.
Pointer to the bitmap handle that references the new bitmap that the magnifying glass will display the zoomed area.
Flag that indicates whether to update the magnifying glass source bitmap. Possible values are:
Value | Meaning |
---|---|
TRUE | Update the magnifying glass displayed bitmap with the parts of pBitmap while moving the magnifying glass over the displayed bitmap. |
FALSE | Do not update the magnifying glass displayed bitmap with the parts of pBitmap while moving the magnifying glass over the displayed bitmap. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The idea is to provide a new bitmap that the magnifying glass can use when displaying the zoomed area. The dimensions of this passed bitmap should be equal to the dimensions of the magnifying glass bitmap.
Note: This function can be used only if the MAGGLASS_MANUAL_UPDATE flag was set when calling L_StartMagGlass function.
Required DLLs and Libraries
Win32, x64.
For an example, refer to L_ShowMagGlass.
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