LEADTOOLS Vector C++ Class Library Help > Classes and Member Functions > LVectorWindow > LVectorWindow Class Members > LVectorWindow::SetZoomPercent |
#include "ltwrappr.h"
L_VOID LVectorWindow::SetZoomPercent(ZoomPercent)
L_UINT ZoomPercent; |
/* the zoom percent */ |
Sets the current zoom percent for the displayed vector.
Parameter |
Description |
ZoomPercent |
The percent to zoom in or out on the displayed vector. |
Returns
None.
Comments
Setting the specified zoom percent affects all zooming. Zooming is accomplished by calling LVectorWindow::ZoomIn, LVectorWindow::ZoomOut, or using the PLUS or MINUS keys on the numeric keypad. The uPercent argument must be greater than or equal to 100. Setting uPercent to a value less than 100 sets the zoom percent to be 100.
The default zoom percent is 130%.
Required DLLs and Libraries
LVKRN 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 LVectorWindow::ZoomIn.