#include "l_bitmap.h"
L_LTDIS_API L_INT L_UpdatePanWindow(hPanWindow, pBitmap, ulDisplayFlags, crPen, pszTitle, prcDst)
Updates the Pan Window with the specified settings.
Handle to the Pan Window.
Pointer to the bitmap handle referencing the bitmap to be displayed in the PanWindow.
Flags which determine how the image is painted in the Pan Window. For values, refer to Flags for the L_SetDisplayMode Function.
COLORREF value that specifies the color of the pen to use for drawing the Pan Rect.
Character string containing the title bar string for the Pan Window. Pass NULL for no title bar string.
Pointer to a rect containing the main window's paint destination rect. This is used to determine the location of the Pan Rect in the Pan Window and the current zoom factor.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Call this function immediately after creating the Pan Window to make it visible, and to set the location of the Pan Rect. Then, anytime the main window's paint destination rect changes, or any time the main window scrolls, call this function to update the Pan Window.
Required DLLs and Libraries
Win32, x64, Linux.
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