#include "ltwrappr.h"

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.

Required DLLs and Libraries


Win32, x64.

See Also


For an example, refer to LBitmapWindow::Repaint.

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

LEADTOOLS Raster Imaging C++ Class Library Help