Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LBitmapWindow::SetZoomFactor
#include "ltwrappr.h"
L_VOID LBitmapWindow::SetZoomFactor(fZoomFactor=1.3f)
L_FLOAT fZoomFactor; |
/* the zoom factor */ |
Sets the zoom factor to be used when zooming in or out.
Parameter |
Description |
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
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
Example
For an example, refer to LBitmapWindow::CreatePanWnd.