LBitmapWindow::GetZoomMode

Summary

Gets the current zoom mode used by the class object's window.

Syntax

#include "ltwrappr.h"

L_UINT LBitmapWindow::GetZoomMode()

Returns

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

Platforms

Win32, x64.

See Also

Example

For an example, refer to LBitmapWindow::Repaint.

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.