LBitmapWindow::GetZoomMode

#include "ltwrappr.h"

L_UINT LBitmapWindow::GetZoomMode()

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

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

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

For an example, refer to LBitmapWindow::Repaint.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help