LEADTOOLS Raster Imaging C DLL Help > Function References > L_StopZoomViewAnnEdit |
"l_bitmap.h"
L_LTZMV_API L_INT L_StopZoomViewAnnEdit(hDC ,hWnd)
HDC hDC; |
/* handle to the target device context */ |
HWND hWnd; |
/* handle to a window */ |
Takes the zoom views that are attached to the specified window out of annotation edit mode into annotation run mode.
Parameter |
Description |
hDC |
Handle to the target device context. |
hWnd |
Handle to a window. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function is used together with L_StartZoomViewAnnEdit to toggle the annotation edit mode. For information on using a zoom view with annotations, see the documentation for L_CreateZoomView and ZOOMVIEWPROPS. Once you have properly set up a zoom view that is using annotations, call the L_StartZoomViewAnnEdit function to display any annotations in edit mode or design mode. In edit mode, annotations can be created, and existing annotations can be modified, or deleted. To end the annotation edit mode (or to display the annotations in run-mode), call the function L_StopZoomViewAnnEdit.
Required DLLs and Libraries
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: |
L_WindowHasZoomView, L_GetZoomViewProps, L_UpdateZoomView, L_DestroyZoomView, L_GetZoomViewsCount, L_StopZoomViewAnnEdit |
Topics: |
|
|
Example
For an example, refer to L_StartZoomViewAnnEdit.