LBitmapWindow::SetZoomFactor

#include "ltwrappr.h"

L_VOID LBitmapWindow::SetZoomFactor(fZoomFactor=1.3f)

Sets the zoom factor to be used when zooming in or out.

Parameters

L_FLOAT fZoomFactor

The zoom factor to be used when zooming in or out.

Returns

None.

Comments

The default zoom factor is 1.3.

This zoom factor will be used when the user zooms in/out using the + - keys or when the class object is set to use the TOOL_ZOOM_ON_MOUSECLICK tool.

When setting fZoomFactor, it must be greater than 1.0 for it to have an effect.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

For an example, refer to LBitmapWindow::CreatePanWnd.

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

LEADTOOLS Raster Imaging C++ Class Library Help