L_DispContainerGetSelectedNorbergValue

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerGetSelectedNorbergValue(hCellWnd, nSubCellIndex, pnFirstAngle, pnSecondAngle)

Retrieves the angles of the selected norberg annotation object.

Parameters

L_HWND hCellWnd

A handle to the window that represents the cell on which the function's effect will be applied.

L_INT nSubCellIndex

A zero-based index into the image list attached to the cell specified in hCellWnd. This sub-cell contains the selected norberg annotation object. Pass -2 to apply this effect on the selected sub-cell.

L_DOUBLE * pnFirstAngle

Pointer to a variable to be updated with the first angle of the norberg annotation object, the one on the left.

L_DOUBLE * pnSecondAngle

Pointer to a variable to be updated with the second angle of the norberg annotation object, the one on the right.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

To create a norberg annotation, add the action using the function L_DispContainerAddAction and pass the action id CONTAINER_ACTION_ANNOTATION_NORBERG, then set the action by passing the formentioned action id to the function L_DispContainerSetAction.

Required DLLs and Libraries

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

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