L_GetZoomViewsCount

#include "l_bitmap.h"

L_LTZMV_API L_INT L_GetZoomViewsCount(hWnd, puCount)

HWND hWnd;

/* handle to a window */

L_UINT *puCount;

/* number of zoomed views associated with the window */

Gets the number of the zoomed views that have been associated with the specified Window.

This function is available in the Document and Medical Imaging toolkits.

Parameter

Description

hWnd

Handle to a window.

puCount

Variable to be updated with the number of zoomed views associated with the window.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function will count how many Zoom Views have been created for the specified window. Zoom Views are created by calling the L_CreateZoomView function.

Required DLLs and Libraries

LTZMV

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_CreateZoomView, L_GetZoomViewProps, L_UpdateZoomView, L_DestroyZoomView

Topics:

Using the Zoom View

 

Raster Image Functions: Displaying Images

 

Using the Magnifying Glass

Example

For an example, refer to L_CreateZoomView.