L_GetZoomViewProps

Summary

Gets the properties for the specified Zoom View.

Syntax

#include "l_bitmap.h"

L_LTZMV_API L_INT L_GetZoomViewProps(hWnd, pZoomViewProps, uStructSize)

Parameters

HWND hWnd

Handle to a window.

pZOOMVIEWPROPS 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.

L_UINT32 uStructSize

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

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to L_UpdateZoomView.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.