LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LBitmapWindow > LBitmapWindow Member Functions > LBitmapWindow::ZoomToRect |
#include "ltwrappr.h"
L_INT LBitmapWindow::ZoomToRect(ZoomRect)
RECT& ZoomRect; |
/* rectangle that contains values relative to the client area */ |
Zooms the specified rectangle to the client area of the class object's window.
Parameter |
Description |
ZoomRect |
Rectangle in the current client area to be zoomed to fit the client area of the window. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The ZoomRect parameter is passed by reference and is a required parameter.
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. |
Platforms
Win32, x64.
See Also
Functions: |
Example
For an example, refer to LBitmapWindow::Repaint.