Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
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 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::Repaint.