L_UINT LBitmapWindow::GetZoomMode()
Gets the current zoom mode used by the class object's window.
The current zoom mode used by the bitmap window control. Possible values are:
Value | Meaning |
---|---|
ZOOM_FIT | fit the bitmap to the window while maintaining the aspect ratio. |
ZOOM_STRETCH | stretch the bitmap to the window. |
ZOOM_NORMAL | display the bitmap in its normal size. |
ZOOM_FITWIDTH | fit the bitmap to the width of the window. |
ZOOM_FITHEIGHT | fit the bitmap to the height of the window. |
ZOOM_FACTOR | zoom the bitmap in or out while it is not in one of the fit states. |
Win32, x64.
For an example, refer to LBitmapWindow::Repaint.
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