LImageViewer::GetHandle

Summary

Gets the medical viewer handle.

Syntax

#include "ltwrappr.h"

HDISPCONTAINER LImageViewer::GetHandle()

Returns

Value Meaning
HDISPCONTAINER The function was successful.
NULL An error occurred. Error can be retrieved from GetLastError(). Refer to Return Codes.

Comments

This method is used to get the handle in order to be able to run the medical viewer C API functions.

Required DLLs and Libraries

See Also

Functions

Topics

Example

This example check whether the medical viewer is initialized or not.

L_INT LImageViewer_GetHandleExample(LImageViewer& ImageViewer) 
{ 
   if (ImageViewer.GetHandle() == NULL) 
      return ERROR_INV_PARAMETER; 
   else 
      return SUCCESS; 
} 

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

LEADTOOLS Medical Image Viewer C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.