Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_GetZoomViewProps

Show in webframe

#include "l_bitmap.h"

L_LTZMV_API L_INT L_GetZoomViewProps(hWnd, pZoomViewProps, uStructSize)

HWND hWnd;

/* handle to a window */

pZOOMVIEWPROPS pZoomViewProps;

/* pointer to a structure */

L_UINT32 uStructSize;

/* size in bytes, of the structure pointed to by pZoomViewProps */

Gets the properties for the specified Zoom View.

Parameter

Description

hWnd

Handle to a window.

pZoomViewProps

Pointer to a ZOOMVIEWPROPS structure to be updated with options for controlling the behavior of the zoomed view. You must fill pZoomViewProps->uIndex before calling this function.

uStructSize

Size in bytes, of the structure pointed to by pZoomViewProps, for versioning. Use sizeof(ZOOMVIEWPROPS).

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To attach a Zoom View to a window, call the L_CreateZoomView function.

When a Zoom View is no longer needed, call the L_DestroyZoomView function to stop the specified Zoom View procedure and to detach it from the window handle.

To change the current options for the specified Zoom View, change the values in the structure pointed to by pZoomViewProps and pass a pointer to the updated structure to L_UpdateZoomView.

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_UpdateZoomView, L_DestroyZoomView, L_GetZoomViewsCount

Topics:

Using the Zoom View

 

Raster Image Functions: Displaying Images

 

Using the Magnifying Glass

Example

For an example, refer to L_UpdateZoomView.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.