LBitmapWindow::SetZoomFactor

Summary

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

Syntax

#include "ltwrappr.h"

L_VOID LBitmapWindow::SetZoomFactor(fZoomFactor=1.3f)

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 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.